Skip to content

Commit 6a069c2

Browse files
committed
Add a VS Code launch target for debugging
1 parent 81ae7ea commit 6a069c2

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

.vscode/launch.json

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,23 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7-
87
{
9-
"name": ".NET Core Attach",
8+
"name": "Launch PSReadLine",
109
"type": "coreclr",
11-
"request": "attach",
12-
"processId": "${command:pickProcess}",
13-
"justMyCode": true,
14-
"symbolOptions": {
15-
"searchMicrosoftSymbolServer": true
16-
}
17-
}
10+
"request": "launch",
11+
"program": "pwsh",
12+
"args": [
13+
"-NonInteractive",
14+
"-NoProfile",
15+
"-NoExit",
16+
"-Command",
17+
"Import-Module '${workspaceFolder}/PSReadLine/bin/Debug/netstandard2.0/PSReadLine.psd1'"
18+
],
19+
"console": "integratedTerminal",
20+
"justMyCode": false,
21+
"suppressJITOptimizations": true,
22+
"enableStepFiltering": false,
23+
"preLaunchTask": "Build",
24+
},
1825
]
19-
}
26+
}

0 commit comments

Comments
 (0)