Nimesh.Nim
Nimesh.Nim

Reputation: 388

How to debug a console application using CoreCLR in VS CODE?

I have created a console application in VS CODE and configure CoreClr to debug the code. I am able to see the output when i hit run. but debugger is not attached to breakpoints. Please suggest me to do the same. I will not use mono or node to debug.

Upvotes: 3

Views: 2747

Answers (1)

Jaqueline Vanek
Jaqueline Vanek

Reputation: 1133

project.json:

{
    "version": "1.0.0-*",
    "compilationOptions": {
        "emitEntryPoint": true,
        "debugType": "portable"
    },

    "dependencies": {
        "NETStandard.Library":"1.0.0-rc3-*" 
    },

    "frameworks": {
        "netstandardapp1.5": {
            "imports": "dnxcore50"
        }
    }
}

a newer installer:

dotnet-win-x64.1.0.0.001661.exe

full description:

Instructions for setting up the .NET Core debugger - EXPERIMENTAL PREVIEW

Upvotes: 1

Related Questions