I have Created a .net Core Web Api Project in Visual Studio code. I wanted to Debug the app so I Added the Configuration as "Attach to Local .Net Core Console App".after that i pressed debug button. then it asked me to attach the app.but my app didn't appear in the dropdown. i tried several things but didn't work anything.I found that the configuration settings stored in the "launch.json" file and I cleared the configurations array from the launch.json and re added from the add configuration button. but didn't work anything yet. the problem is when i try to attach to the process of my app is not showing to attach. Please help me to fix the issue. I have attached some images and the project.
project Thanks.
Copied from comment.
VSCode's C# extension usually generates a launch.json
file, but it does not work immediately, as its program
attribute requires your edit so as to point to the correct executable.
https://code.visualstudio.com/Docs/editor/debugging#_launchjson-attributes
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.