I need Only one midi track to play over clean looper

Hello! I want to connect looper for my audio interface and record loops and play over that loops with synth sound. But the problem is that MIDI GUITAR plugin try to catch all outputs and inputs and it change to midi signal. So it is impossible to leave clean loop - it will always sound by VST. But I need one track - my loop station dry signal and another track is my lead part for VST soloing over dry and clean guitar. How to achieve that result? How to adjust plugin to control only one track and another try keep dry?

Discussed here: How to synth only one track in Logic Pro x and keep another tracks clean?