4
4
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
5
"version" : " 0.2.0" ,
6
6
"configurations" : [
7
-
8
- {
9
- "name" : " .NET Core Launch (console)" ,
10
- "type" : " coreclr" ,
11
- "request" : " launch" ,
12
- "preLaunchTask" : " build" ,
13
- "program" : " ${workspaceFolder}/MyApp/bin/Debug/netcoreapp2.2/MyApp.dll" ,
14
- "args" : [],
15
- "cwd" : " ${workspaceFolder}/MyApp" ,
16
- "console" : " internalConsole" ,
17
- "stopAtEntry" : false ,
18
- "internalConsoleOptions" : " openOnSessionStart" ,
19
- "env" : {
20
- "ASPNETCORE_ENVIRONMENT" : " Development"
21
- }
22
- },
23
7
{
24
8
"name" : " .NET Core Launch (web)" ,
25
9
"type" : " coreclr" ,
26
10
"request" : " launch" ,
27
11
"preLaunchTask" : " build" ,
28
- "program" : " ${workspaceFolder}/MyApp/bin/Debug/netcoreapp2.2 /MyApp.dll" ,
12
+ "program" : " ${workspaceFolder}/MyApp/bin/Debug/net6.0 /MyApp.dll" ,
29
13
"args" : [],
30
14
"cwd" : " ${workspaceFolder}/MyApp" ,
31
15
"stopAtEntry" : false ,
32
- "internalConsoleOptions" : " openOnSessionStart" ,
33
- "launchBrowser" : {
34
- "enabled" : true ,
35
- "args" : " ${auto-detect-url}" ,
36
- "windows" : {
37
- "command" : " cmd.exe" ,
38
- "args" : " /C start ${auto-detect-url}"
39
- },
40
- "osx" : {
41
- "command" : " open"
42
- },
43
- "linux" : {
44
- "command" : " xdg-open"
45
- }
16
+ "serverReadyAction" : {
17
+ "action" : " openExternally" ,
18
+ "pattern" : " \\ bNow listening on:\\ s+(https?://\\ S+)"
46
19
},
47
20
"env" : {
48
21
"ASPNETCORE_ENVIRONMENT" : " Development"
54
27
{
55
28
"name" : " .NET Core Attach" ,
56
29
"type" : " coreclr" ,
57
- "request" : " attach" ,
58
- "processId" : " ${command:pickProcess}"
30
+ "request" : " attach"
59
31
}
60
32
]
61
33
}
0 commit comments