11{
2- "version" : " 0.2.0" ,
3- "configurations" : [
4- {
5- // Use IntelliSense to find out which attributes exist for C# debugging
6- // Use hover for the description of the existing attributes
7- // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
8- "name" : " .NET Core Launch (web) " ,
9- "type" : " coreclr" ,
10- "request" : " launch" ,
11- "preLaunchTask" : " build" ,
12- // If you have changed target frameworks, make sure to update the program path.
13- "program" : " ${workspaceFolder}/WebAPI/bin/Debug/net5.0/WebAPI.dll" ,
14- "args" : [],
15- "cwd" : " ${workspaceFolder}/WebAPI" ,
16- "stopAtEntry" : false ,
17- // Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
18- "serverReadyAction" : {
19- "action" : " openExternally" ,
20- "pattern" : " \\ bNow listening on:\\ s+(https?://\\ S+)"
21- },
22- "env" : {
23- "ASPNETCORE_ENVIRONMENT" : " Development"
24- },
25- "sourceFileMap" : {
26- "/Views" : " ${workspaceFolder}/Views"
27- }
28- },
29- {
30- "name" : " .NET Core Attach" ,
31- "type" : " coreclr" ,
32- "request" : " attach"
33- }
34- ]
35- }
2+ "version" : " 0.2.0" ,
3+ "configurations" : [
4+ {
5+ // Use IntelliSense to find out which attributes exist for C# debugging
6+ // Use hover for the description of the existing attributes
7+ // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
8+ "name" : " Launch WebAPI " ,
9+ "type" : " coreclr" ,
10+ "request" : " launch" ,
11+ "preLaunchTask" : " build" ,
12+ // If you have changed target frameworks, make sure to update the program path.
13+ "program" : " ${workspaceFolder}/WebAPI/bin/Debug/net5.0/WebAPI.dll" ,
14+ "args" : [],
15+ "cwd" : " ${workspaceFolder}/WebAPI" ,
16+ "stopAtEntry" : false ,
17+ // Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
18+ "serverReadyAction" : {
19+ "action" : " openExternally" ,
20+ "pattern" : " \\ bNow listening on:\\ s+(https?://\\ S+)"
21+ },
22+ "env" : {
23+ "ASPNETCORE_ENVIRONMENT" : " Development"
24+ },
25+ "sourceFileMap" : {
26+ "/Views" : " ${workspaceFolder}/Views"
27+ }
28+ },
29+ {
30+ "name" : " .NET Core Attach" ,
31+ "type" : " coreclr" ,
32+ "request" : " attach"
33+ }
34+ ]
35+ }
0 commit comments