|
| 1 | +{ |
| 2 | + // Use IntelliSense to learn about possible attributes. |
| 3 | + // Hover to view descriptions of existing attributes. |
| 4 | + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 |
| 5 | + "version": "0.2.0", |
| 6 | + "configurations": [ |
| 7 | + { |
| 8 | + "name": ".NET Core Launch (console)", |
| 9 | + "type": "coreclr", |
| 10 | + "request": "launch", |
| 11 | + "preLaunchTask": "build", |
| 12 | + "program": |
| 13 | + "${workspaceFolder}/bin/Debug/netcoreapp2.1/SampleWebApiAspNetCore.dll", |
| 14 | + "args": [], |
| 15 | + "cwd": "${workspaceFolder}", |
| 16 | + "console": "internalConsole", |
| 17 | + "stopAtEntry": false, |
| 18 | + "internalConsoleOptions": "openOnSessionStart" |
| 19 | + }, |
| 20 | + { |
| 21 | + "name": ".NET Core Launch (web)", |
| 22 | + "type": "coreclr", |
| 23 | + "request": "launch", |
| 24 | + "preLaunchTask": "build", |
| 25 | + "program": |
| 26 | + "${workspaceFolder}/bin/Debug/netcoreapp2.1/SampleWebApiAspNetCore.dll", |
| 27 | + "args": [], |
| 28 | + "cwd": "${workspaceFolder}", |
| 29 | + "stopAtEntry": false, |
| 30 | + "internalConsoleOptions": "openOnSessionStart", |
| 31 | + "launchBrowser": { |
| 32 | + "enabled": true, |
| 33 | + "args": "${auto-detect-url}", |
| 34 | + "windows": { |
| 35 | + "command": "cmd.exe", |
| 36 | + "args": "/C start ${auto-detect-url}" |
| 37 | + }, |
| 38 | + "osx": { "command": "open" }, |
| 39 | + "linux": { "command": "xdg-open" } |
| 40 | + }, |
| 41 | + "env": { "ASPNETCORE_ENVIRONMENT": "Development" }, |
| 42 | + "sourceFileMap": { "/Views": "${workspaceFolder}/Views" } |
| 43 | + }, |
| 44 | + { |
| 45 | + "name": ".NET Core Attach", |
| 46 | + "type": "coreclr", |
| 47 | + "request": "attach", |
| 48 | + "processId": "${command:pickProcess}" |
| 49 | + } |
| 50 | + ] |
| 51 | +} |
0 commit comments