1
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
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
5
"version" : " 0.2.0" ,
6
6
"configurations" : [
7
7
{
8
8
"name" : " .NET Core Launch (web)" ,
9
9
"type" : " coreclr" ,
10
10
"request" : " launch" ,
11
11
"preLaunchTask" : " build" ,
12
- "program" : " ${workspaceFolder}/bin/Debug/netcoreapp3.1/AspNetCoreVueStarter.dll" ,
12
+ // If you have changed target frameworks, make sure to update the program path.
13
+ "program" : " ${workspaceFolder}/bin/Debug/net5.0/AspNetCoreVueStarter.dll" ,
13
14
"args" : [],
14
15
"cwd" : " ${workspaceFolder}" ,
15
16
"stopAtEntry" : false ,
17
+ // Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
16
18
"serverReadyAction" : {
17
19
"action" : " openExternally" ,
18
- "pattern" : " ^ \\ s*Now listening on:\\ s+(https?://\\ S+)"
20
+ "pattern" : " \\ bNow listening on:\\ s+(https?://\\ S+)"
19
21
},
20
22
"env" : {
21
23
"ASPNETCORE_ENVIRONMENT" : " Development"
41
43
"sourceMapPathOverrides" : {
42
44
"webpack:///*" : " ${webRoot}/*" ,
43
45
"webpack:///./*" : " ${webRoot}/*" ,
44
- "webpack:///src/*" : " ${webRoot}/src/ *"
46
+ "webpack:///src/*" : " ${webRoot}/*"
45
47
}
46
48
},
47
49
{
48
50
"name" : " Launch Firefox" ,
51
+ "type" : " firefox" ,
49
52
"request" : " launch" ,
50
53
"url" : " http://localhost:5000" ,
51
- "type" : " firefox" ,
52
54
"webRoot" : " ${workspaceFolder}/ClientApp" ,
53
55
"pathMappings" : [
54
56
{
55
- "url" : " webpack:///src" ,
56
- "path" : " ${webRoot}/src "
57
+ "url" : " webpack:///src/ " ,
58
+ "path" : " ${webRoot}/"
57
59
}
58
60
]
59
61
}
60
62
],
61
63
"compounds" : [
62
64
{
63
65
"name" : " Debug SPA and API (Chrome)" ,
64
- "configurations" : [" .NET Core Launch (web)" , " Launch Chrome" ]
66
+ "configurations" : [
67
+ " .NET Core Launch (web)" ,
68
+ " Launch Chrome"
69
+ ]
65
70
},
66
71
{
67
72
"name" : " Debug SPA and API (Firefox)" ,
68
- "configurations" : [" .NET Core Launch (web)" , " Launch Firefox" ]
73
+ "configurations" : [
74
+ " .NET Core Launch (web)" ,
75
+ " Launch Firefox"
76
+ ]
69
77
}
70
78
]
71
- }
79
+ }
0 commit comments