Skip to content

Instantly share code, notes, and snippets.

@gzamudio
Created October 9, 2019 19:31
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 gzamudio/1205e0fd4c962e6fbb8962b182cf735b to your computer and use it in GitHub Desktop.
Save gzamudio/1205e0fd4c962e6fbb8962b182cf735b to your computer and use it in GitHub Desktop.
VS Code launch file for .NET Core apps.
{
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/{appPath}/{appName}.dll",
"args": [],
"cwd": "${workspaceFolder}/{srcPath}",
"stopAtEntry": false,
"serverReadyAction": {
"action": "openExternally",
"pattern": "^\\s*Now listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment