slynch8 / 10x

10x IDE/Editor
191 stars 35 forks source link

Start Debugger Launches Visual Studio Even Though It Is Not Specified #2787

Closed trustednstaller closed 2 months ago

trustednstaller commented 2 months ago

I want to have the Debug Command and Debug Command Arguments work without resorting to invoking Visual Studio. For instance, I use WinDbg as my debugger, and have a script set up to invoke through PowerShell that puts me in the debugging experience that I want to be in after I build. I want to set up the Debug Command and arguments and hit F5 to reflect this. Doing this in Visual Studio (when setting up Debug Command and Debug Command Arguments) works perfectly but 10x launches VS every time even though there is nothing related to VS.

image

This same setup, when applied in the Debugging settings for Visual Studio works as expected.

slynch8 commented 2 months ago

You need to turn off the VisualStudioSync setting

trustednstaller commented 2 months ago

Thanks! Is there any other setting I need to toggle? Turning off VisualStudioSync stops launching Visual Studio but the Debug Command/Arguments do nothing i.e., nothing happens when I try to launch the debugger once I disable it.

trustednstaller commented 2 months ago

Just added a custom Python command for this, will close it but it would be nice to have a convenient out of the box way to directly specify custom build commands alongside a build instead of having to take a two-step approach.