Do you know how to set debug flag in vscode, similar to this
Note: the question is stated "as in C#" and for Golang(Go code)
Asked
Active
Viewed 2,001 times
-2

Chris G.
- 23,930
- 48
- 177
- 302
-
1add it to your `task.json`, it depends on your used language and compiler – rioV8 Jul 26 '20 at 20:38
2 Answers
0
There is no "debug flag" for an editor. For most compiled languages, a debug flag will exist if you compiled the program in debug mode.
That link you posted is a different issue. Debugger.IsAttached for c# checks for the presence of the dotnet debugger, also has nothing to do with the editor.

EricChen1248
- 466
- 6
- 19