Last active
October 31, 2021 15:07
-
-
Save circleupx/e0d65aa2a4faae0197b5e1d1f18235a2 to your computer and use it in GitHub Desktop.
vscode dotnet launch configurations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"compounds": [ | |
{ | |
"name": "Start Debugging in Chrome", | |
"configurations": [ | |
"Launch Chrome", | |
".NET Debugger" | |
] | |
} | |
], | |
"configurations": [ | |
{ | |
"name": "Launch Chrome", | |
"request": "launch", | |
"type": "pwa-chrome", | |
"url": "https://localhost:5001/swagger", | |
"webRoot": "${workspaceFolder}" | |
}, | |
{ | |
"name": ".NET Debugger", | |
"type": "coreclr", | |
"request": "launch", | |
"preLaunchTask": "build", | |
"program": "${workspaceFolder}/bin/Debug/<target-framework>/<project-name.dll>", | |
"args": [], | |
"cwd": "${workspaceFolder}/<project-path>", | |
"stopAtEntry": false, | |
"internalConsoleOptions": "openOnSessionStart", | |
"launchBrowser": { | |
"enabled": true, | |
"args": "${auto-detect-url}", | |
"windows": { | |
"command": "cmd.exe", | |
"args": "/C start ${auto-detect-url}" | |
}, | |
"osx": { | |
"command": "open" | |
}, | |
"linux": { | |
"command": "xdg-open" | |
} | |
}, | |
"env": { | |
"ASPNETCORE_ENVIRONMENT": "Development", | |
"ASPNETCORE_URLS": "https://localhost:5001;http://localhost:5000" | |
}, | |
"sourceFileMap": { | |
"/Views": "${workspaceFolder}/Views" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment