Skip to content

Commit 0b8e733

Browse files
committed
[fix] VS Code launch paths
1 parent 21e5cd9 commit 0b8e733

File tree

1 file changed

+77
-87
lines changed

1 file changed

+77
-87
lines changed

.vscode/launch.json

Lines changed: 77 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,101 +1,91 @@
11
{
22
"version": "0.2.0",
33
"configurations": [
4-
{
5-
"name": "MyProject.Angular Launch",
6-
"type": "coreclr",
7-
"request": "launch",
8-
"preLaunchTask": "Build",
9-
"program": "${workspaceFolder}/src/templates/MyProject.Angular/bin/Debug/net6.0/MyProject.Angular.dll",
10-
"cwd": "${workspaceFolder}/src/templates/MyProject.Angular",
11-
"internalConsoleOptions": "openOnSessionStart",
12-
"serverReadyAction":
134
{
14-
"action": "openExternally",
15-
"pattern": "Now listening on",
16-
"uriFormat": "http://localhost:5000"
5+
"name": "MyProject.Angular Launch",
6+
"type": "coreclr",
7+
"request": "launch",
8+
"preLaunchTask": "Build",
9+
"program": "${workspaceFolder}/src/templates/MyProject.Angular/bin/Debug/net7.0/MyProject.Angular.dll",
10+
"cwd": "${workspaceFolder}/src/templates/MyProject.Angular",
11+
"internalConsoleOptions": "openOnSessionStart",
12+
"serverReadyAction": {
13+
"action": "openExternally",
14+
"pattern": "Now listening on",
15+
"uriFormat": "http://localhost:5000"
16+
},
17+
"env": {
18+
"ASPNETCORE_ENVIRONMENT": "Development"
19+
}
1720
},
18-
"env":
1921
{
20-
"ASPNETCORE_ENVIRONMENT": "Development"
21-
}
22-
},
23-
{
24-
"name": "MyProject.Api Launch",
25-
"type": "coreclr",
26-
"request": "launch",
27-
"preLaunchTask": "Build",
28-
"program": "${workspaceFolder}/src/templates/MyProject.Api/bin/Debug/net6.0/MyProject.Api.dll",
29-
"cwd": "${workspaceFolder}/src/templates/MyProject.Api/bin/Debug/net6.0/",
30-
"internalConsoleOptions": "openOnSessionStart",
31-
"serverReadyAction":
32-
{
33-
"action": "openExternally",
34-
"pattern": "Now listening on",
35-
"uriFormat": "http://localhost:5000/api/v1/sampleOut"
36-
},
37-
"env":
38-
{
39-
"ASPNETCORE_ENVIRONMENT": "Development"
40-
}
41-
},
42-
{
43-
"name": "MyProject.Minimal Launch",
44-
"type": "coreclr",
45-
"request": "launch",
46-
"preLaunchTask": "Build",
47-
"program": "${workspaceFolder}/src/templates/MyProject.Minimal/bin/Debug/net6.0/MyProject.Minimal.dll",
48-
"cwd": "${workspaceFolder}/src/templates/MyProject.Minimal/bin/Debug/net6.0/",
49-
"internalConsoleOptions": "openOnSessionStart",
50-
51-
"serverReadyAction":
52-
{
53-
"action": "openExternally",
54-
"pattern": "Now listening on",
55-
"uriFormat": "http://localhost:5000"
22+
"name": "MyProject.Api Launch",
23+
"type": "coreclr",
24+
"request": "launch",
25+
"preLaunchTask": "Build",
26+
"program": "${workspaceFolder}/src/templates/MyProject.Api/bin/Debug/net7.0/MyProject.Api.dll",
27+
"cwd": "${workspaceFolder}/src/templates/MyProject.Api/bin/Debug/net7.0/",
28+
"internalConsoleOptions": "openOnSessionStart",
29+
"serverReadyAction": {
30+
"action": "openExternally",
31+
"pattern": "Now listening on",
32+
"uriFormat": "http://localhost:5000/api/v1/sampleOut"
33+
},
34+
"env": {
35+
"ASPNETCORE_ENVIRONMENT": "Development"
36+
}
5637
},
57-
"env":
58-
{
59-
"ASPNETCORE_ENVIRONMENT": "Development"
60-
}
61-
},
62-
{
63-
"name": "MyProject.SchedulerApi Launch",
64-
"type": "coreclr",
65-
"request": "launch",
66-
"preLaunchTask": "Build",
67-
"program": "${workspaceFolder}/src/templates/MyProject.SchedulerApi/bin/Debug/net6.0/MyProject.SchedulerApi.dll",
68-
"cwd": "${workspaceFolder}/src/templates/MyProject.SchedulerApi/bin/Debug/net6.0/",
69-
"internalConsoleOptions": "openOnSessionStart",
70-
"serverReadyAction":
7138
{
72-
"action": "openExternally",
73-
"pattern": "Now listening on",
74-
"uriFormat": "http://localhost:5000/status"
39+
"name": "MyProject.Minimal Launch",
40+
"type": "coreclr",
41+
"request": "launch",
42+
"preLaunchTask": "Build",
43+
"program": "${workspaceFolder}/src/templates/MyProject.Minimal/bin/Debug/net7.0/MyProject.Minimal.dll",
44+
"cwd": "${workspaceFolder}/src/templates/MyProject.Minimal/bin/Debug/net7.0/",
45+
"internalConsoleOptions": "openOnSessionStart",
46+
"serverReadyAction": {
47+
"action": "openExternally",
48+
"pattern": "Now listening on",
49+
"uriFormat": "http://localhost:5000"
50+
},
51+
"env": {
52+
"ASPNETCORE_ENVIRONMENT": "Development"
53+
}
7554
},
76-
"env":
77-
{
78-
"ASPNETCORE_ENVIRONMENT": "Development"
79-
}
80-
},
81-
{
82-
"name": "MyProject.WindowsServiceApi Launch",
83-
"type": "coreclr",
84-
"request": "launch",
85-
"preLaunchTask": "Build",
86-
"program": "${workspaceFolder}/src/templates/MyProject.WindowsServiceApi/bin/Debug/net48/MyProject.WindowsServiceApi.exe",
87-
"cwd": "${workspaceFolder}/src/templates/MyProject.WindowsServiceApi/bin/Debug/net48/",
88-
"internalConsoleOptions": "openOnSessionStart",
89-
"args": "console",
90-
"serverReadyAction":
9155
{
92-
"action": "openExternally",
93-
"pattern": "Service started.",
94-
"uriFormat": "http://localhost:5000/status"
56+
"name": "MyProject.SchedulerApi Launch",
57+
"type": "coreclr",
58+
"request": "launch",
59+
"preLaunchTask": "Build",
60+
"program": "${workspaceFolder}/src/templates/MyProject.SchedulerApi/bin/Debug/net7.0/MyProject.SchedulerApi.dll",
61+
"cwd": "${workspaceFolder}/src/templates/MyProject.SchedulerApi/bin/Debug/net7.0/",
62+
"internalConsoleOptions": "openOnSessionStart",
63+
"serverReadyAction": {
64+
"action": "openExternally",
65+
"pattern": "Now listening on",
66+
"uriFormat": "http://localhost:5000/status"
67+
},
68+
"env": {
69+
"ASPNETCORE_ENVIRONMENT": "Development"
70+
}
9571
},
96-
"env":
9772
{
98-
"ASPNETCORE_ENVIRONMENT": "Development"
73+
"name": "MyProject.WindowsServiceApi Launch",
74+
"type": "coreclr",
75+
"request": "launch",
76+
"preLaunchTask": "Build",
77+
"program": "${workspaceFolder}/src/templates/MyProject.WindowsServiceApi/bin/Debug/net48/MyProject.WindowsServiceApi.exe",
78+
"cwd": "${workspaceFolder}/src/templates/MyProject.WindowsServiceApi/bin/Debug/net48/",
79+
"internalConsoleOptions": "openOnSessionStart",
80+
"args": "console",
81+
"serverReadyAction": {
82+
"action": "openExternally",
83+
"pattern": "Service started.",
84+
"uriFormat": "http://localhost:5000/status"
85+
},
86+
"env": {
87+
"ASPNETCORE_ENVIRONMENT": "Development"
88+
}
9989
}
100-
}]
90+
]
10191
}

0 commit comments

Comments
 (0)