Skip to content

Commit a708b33

Browse files
committed
Updated F5 launch ability to launch powershell and automatically attach to debug
1 parent 5de6bb7 commit a708b33

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

.vscode/launch.json

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,27 @@
55
"version": "0.2.0",
66
"configurations": [
77
{
8-
"name": ".NET Core Attach",
8+
"name": ".NET Core Launch with Nuget Build(console)",
99
"type": "coreclr",
10-
"request": "attach",
11-
"processId": "${command:pickProcess}"
10+
"request": "launch",
11+
"preLaunchTask": "Build with nugets",
12+
"args": [],
13+
"cwd": "${workspaceFolder}",
14+
"stopAtEntry": false,
15+
"console": "externalTerminal",
16+
"osx": {
17+
"program": "pwsh",
18+
},
19+
"windows": {
20+
"program": "pwsh.exe"
21+
}
1222
},
1323
{
14-
"name": ".NET Framework Attach",
15-
"type": "clr",
24+
"preLaunchTask": "Build with nugets",
25+
"name": ".NET Core Attach",
26+
"type": "coreclr",
1627
"request": "attach",
17-
"processId": "${command:pickProcess}"
28+
"processId": "${command:pickProcess}",
1829
}
1930
]
2031
}

0 commit comments

Comments
 (0)