Reputation: 455
I'm trying to setup Visual Studio Code (https://code.visualstudio.com/docs/debugging ) to debug c#/mono on win8. I have also installed the latest version of mono.
I added a config to launch.json and changed the 'type' to mono(also tried pointing 'program' at the debug exe) but I just get the error:
initialize: can't create debug session for adapter ID "mono"
how do you setup debugging on a c# project?
edit: seems like a gulp script may be required? Compiling C# projects with VSCode on Ubuntu
Upvotes: 16
Views: 7774
Reputation: 2759
Visual Studio Code: Preview currently does not support mono debugging on Windows. Debugging mono is only supported for Linux and Mac at the moment. Node debugging is supported on Windows, Linux and Mac.
Upvotes: 7