|
1 | 1 | {
|
2 |
| - // Use IntelliSense to find out which attributes exist for C# debugging |
3 |
| - // Use hover for the description of the existing attributes |
4 |
| - // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md |
5 |
| - "version": "0.2.0", |
6 |
| - "configurations": [ |
| 2 | + // Use IntelliSense to find out which attributes exist for C# debugging |
| 3 | + // Use hover for the description of the existing attributes |
| 4 | + // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md |
| 5 | + "version": "0.2.0", |
| 6 | + "configurations": [ |
7 | 7 | {
|
8 |
| - "name": ".NET Core Launch (web)", |
| 8 | + "name": ".NET Core Launch (auth)", |
9 | 9 | "type": "coreclr",
|
10 | 10 | "request": "launch",
|
11 | 11 | "preLaunchTask": "build",
|
|
26 | 26 | "/Views": "${workspaceFolder}/Views"
|
27 | 27 | }
|
28 | 28 | },
|
| 29 | + { |
| 30 | + "name": ".NET Core Launch (webapp)", |
| 31 | + "type": "coreclr", |
| 32 | + "request": "launch", |
| 33 | + "preLaunchTask": "build", |
| 34 | + // If you have changed target frameworks, make sure to update the program path. |
| 35 | + "program": "${workspaceFolder}/server/WebApplication2/WebApplication2/bin/Debug/netcoreapp3.1/WebApplication2.dll", |
| 36 | + "args": [], |
| 37 | + "cwd": "${workspaceFolder}/server/WebApplication2/WebApplication2", |
| 38 | + "stopAtEntry": false, |
| 39 | + // Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser |
| 40 | + "serverReadyAction": { |
| 41 | + "action": "openExternally", |
| 42 | + "pattern": "^\\s*Now listening on:\\s+(https?://\\S+)" |
| 43 | + }, |
| 44 | + "env": { |
| 45 | + "ASPNETCORE_ENVIRONMENT": "Development" |
| 46 | + }, |
| 47 | + "sourceFileMap": { |
| 48 | + "/Views": "${workspaceFolder}/Views" |
| 49 | + } |
| 50 | + }, |
29 | 51 | {
|
30 | 52 | "name": ".NET Core Attach",
|
31 | 53 | "type": "coreclr",
|
|
0 commit comments