Tag: visual studio

如何将VS代码launch.json转换为Visual Studio launchSettings.json for .Net核心Web应用程序

我需要将VSCode中的launch.json文件转换为Windows上的Visual Studios中的launchSettings.json文件,以便我可以使用Docker进行debugging。 下面是我在VSCode中工作的launch.json文件。 { "version": "0.2.0", "configurations": [ { "name":".NET Core Docker Launch (web)", "type": "coreclr", "request": "launch", "preLaunchTask": "composeForDebug", "cwd": "/app", "program": "/app/test.dll", "sourceFileMap": { "/app": "${workspaceRoot}" }, "launchBrowser": { "enabled": true, "args": "${auto-detect-url}", "windows": { "command": "cmd.exe", "args": "/C start ${auto-detect-url}" }, "osx": { "command": "open" } }, "pipeTransport": { "pipeProgram": "/bin/bash", "pipeCwd": […]