When I attempt to "step into" code from the ASP.NET itself, nothing happens.
I suppose that VSC doesn’t have the source code for it? How can I do this sort of deep debugging?
Environment:
.NET v7 with ASP.NET
IDE: Visual Studio Code
When I attempt to "step into" code from the ASP.NET itself, nothing happens.
I suppose that VSC doesn’t have the source code for it? How can I do this sort of deep debugging?
Environment:
.NET v7 with ASP.NET
IDE: Visual Studio Code
2
Answers
You just need to read thoroughly the Visual Studio for Windows article, be familiar with both VS and VS Code, and finally translate the required settings to
launch.json
,I wrote a complete article with more details.
I had all the same settings as @LexLi and I was still unable to hit breakpoints. I realized I had this setting set to true which was interfering with debugging:
omnisharp.enableDecompilationSupport