Skip to content

Instantly share code, notes, and snippets.

@circleupx
Last active October 31, 2021 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save circleupx/e0d65aa2a4faae0197b5e1d1f18235a2 to your computer and use it in GitHub Desktop.
Save circleupx/e0d65aa2a4faae0197b5e1d1f18235a2 to your computer and use it in GitHub Desktop.
vscode dotnet launch configurations
{
"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