Chromableed Studios
Chromableed Studios

Reputation: 455

vscode: how to setup debugging mono/c#?

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

Answers (1)

Isidor Nikolic
Isidor Nikolic

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

Related Questions