Working method
Record a test and replay it with input monitoring off. If the file itself is clean, mute the direct and software headphone paths in turn. Keep the required path, or return only a wet effect from the DAW.
Checking the result
If a guitarist needs a live amp simulator, use the software path and adjust the buffer size. If doubling is printed in the recording, inspect the track input and whether application playback is being recorded into the mix.
When printing two versions, establish separate dry and processed recording paths.