Created
May 10, 2020 21:01
-
-
Save fxcosta/cf621f94d248ad7607bb57820093921c to your computer and use it in GitHub Desktop.
vscode configs for debug asp net core app in macos/linux
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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": ".NET Core Launch (web)", | |
"type": "coreclr", | |
"request": "launch", | |
"preLaunchTask": "build", | |
"program": "${workspaceFolder}/Api/bin/Debug/netcoreapp2.2/GeosApi.dll", | |
"args": [], | |
"cwd": "${workspaceFolder}/Api", | |
"stopAtEntry": false, | |
"serverReadyAction": { | |
"action": "openExternally", | |
"pattern": "^\\s*Now listening on:\\s+(https?://\\S+)" | |
}, | |
"launchBrowser": { | |
"enabled": false, | |
"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": "http://localhost:60231" | |
}, | |
"sourceFileMap": { | |
"/Views": "${workspaceFolder}/Views" | |
} | |
} | |
] | |
} |
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
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "build", | |
"command": "dotnet", | |
"type": "process", | |
"args": ["build", "${workspaceFolder}/Api/GeosApi.csproj"], | |
"problemMatcher": "$msCompile" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment