55 "version" : " 0.2.0" ,
66 "configurations" : [
77 {
8- "name" : " .NET Core Launch (web) " ,
8+ "name" : " .NET Core & Vue Server " ,
99 "type" : " coreclr" ,
1010 "request" : " launch" ,
11- "preLaunchTask" : " build" ,
11+ "logging" : {
12+ "moduleLoad" : false
13+ },
14+ "env" : {
15+ "ASPNETCORE_ENVIRONMENT" : " Development" ,
16+ "VUE_DEV_SERVER_PROGRESS" : " true"
17+ },
18+ "cwd" : " ${workspaceFolder}" ,
19+ "preLaunchTask" : " build-vue-cli-serve" ,
1220 // If you have changed target frameworks, make sure to update the program path.
1321 "program" : " ${workspaceFolder}/bin/Debug/net5.0/AspNetCoreVueStarter.dll" ,
14- "args" : [],
15- "cwd" : " ${workspaceFolder}" ,
16- // this will kill any stray vue-cli processes, as the .NET app can't shut them down when it is killed by the debugger
17- "postDebugTask" : " kill" ,
22+ "args" : [
23+ " /mode:attach"
24+ ],
1825 "stopAtEntry" : false ,
26+ "sourceFileMap" : {
27+ "/Views" : " ${workspaceFolder}/Views"
28+ },
1929 // Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
2030 "serverReadyAction" : {
21- "action" : " openExternally" ,
22- "pattern" : " \\ bNow listening on:\\ s+(https?://\\ S+)"
31+ "action" : " startDebugging" ,
32+ "pattern" : " \\ bNow listening on:\\ s+(https?://\\ S+)" ,
33+ "name" : " Chrome Browser"
34+ },
35+ // this will kill any stray vue-cli processes, as the .NET app can't shut them down when it is killed by the debugger
36+ "postDebugTask" : " kill"
37+ },
38+ {
39+ "name" : " .NET Core Web" ,
40+ "type" : " coreclr" ,
41+ "request" : " launch" ,
42+ "logging" : {
43+ "moduleLoad" : false
2344 },
2445 "env" : {
2546 "ASPNETCORE_ENVIRONMENT" : " Development"
2647 },
48+ "cwd" : " ${workspaceFolder}" ,
49+ "preLaunchTask" : " build" ,
50+ // If you have changed target frameworks, make sure to update the program path.
51+ "program" : " ${workspaceFolder}/bin/Debug/net5.0/AspNetCoreVueStarter.dll" ,
52+ "args" : [
53+ " /mode:start"
54+ ],
55+ "stopAtEntry" : false ,
2756 "sourceFileMap" : {
2857 "/Views" : " ${workspaceFolder}/Views"
29- }
58+ },
59+ // Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
60+ "serverReadyAction" : {
61+ "action" : " startDebugging" ,
62+ "pattern" : " \\ bNow listening on:\\ s+(https?://\\ S+)" ,
63+ "name" : " Chrome Browser"
64+ },
65+ // this will kill any stray vue-cli processes, as the .NET app can't shut them down when it is killed by the debugger
66+ "postDebugTask" : " kill"
3067 },
3168 {
3269 "name" : " .NET Core Attach" ,
3572 "processId" : " ${command:pickProcess}"
3673 },
3774 {
38- "name" : " Launch Chrome" ,
75+ "name" : " Chrome Browser " ,
3976 "type" : " chrome" ,
4077 "request" : " launch" ,
4178 "url" : " http://localhost:5000" ,
42- "webRoot" : " ${workspaceFolder}/ClientApp/ " ,
79+ "webRoot" : " ${workspaceFolder}/ClientApp" ,
4380 "breakOnLoad" : true ,
44- "sourceMaps" : true
81+ "sourceMaps" : true ,
4582 },
4683 {
47- "name" : " Launch Firefox" ,
84+ "name" : " Firefox Browser " ,
4885 "type" : " firefox" ,
4986 "request" : " launch" ,
5087 "url" : " http://localhost:5000" ,
51- "webRoot" : " ${workspaceFolder}/ClientApp/"
52- }
53- ],
54- "compounds" : [
55- {
56- "name" : " Debug SPA and API (Chrome)" ,
57- "configurations" : [
58- " .NET Core Launch (web)" ,
59- " Launch Chrome"
60- ]
61- },
62- {
63- "name" : " Debug SPA and API (Firefox)" ,
64- "configurations" : [
65- " .NET Core Launch (web)" ,
66- " Launch Firefox"
67- ]
88+ "webRoot" : " ${workspaceFolder}/ClientApp"
6889 }
6990 ]
7091}
0 commit comments