vscode-go icon indicating copy to clipboard operation
vscode-go copied to clipboard

Specify path for test and debug artifacts

Open fbsmith opened this issue 5 months ago • 1 comments

When I run tests or debug my tests in the Testing module in VS Code, the _debug_bin*.exe files are always located in the same directory as the test code that I'm running.

I would like to be able to specify in .vscode\launch.json where these artifacts are created, stored, and cleaned up from.

My organization is pretty strict with its antivirus software and always flags any executable from being run. I can make requests on a case-by-case basis for executables to be ignored, so I want a directory that I can request be ignored so I can run and debug my tests.

fbsmith avatar Jun 26 '25 15:06 fbsmith