I'm trying to debug C# project with VS Code. I like build system with "project.json" file and "dnu" utility. But "dnu build" produce only *.dll files and no *.pdb files. As result I see "Source code not available" in VS during debug session.
Is there any way to produce "*.pdb" or equivalent file with "dnu build"?
I'm using dnx with mono on Ubuntu and my project.json looks like following:
{
"configurations": {
"Debug": {
"compilationOptions": {
"define": ["DEBUG", "TRACE"]
}
},
"Release": {
"compilationOptions": {
"define": ["RELEASE", "TRACE"],
"optimize": true
}
}
},
"frameworks": {
"dnx451": {
"frameworkAssemblies": {
"System": "",
"System.Runtime": ""
}
}
},
"dependencies": {
"Newtonsoft.Json": "8.0",
"Unity": "4.0"
},
"compile": "*/**/*.cs"
}
P.S. Any other ideas about how to debug assemblies produced by "dnu build" with VS Code are welcome.