Skip to content

Commit 0588446

Browse files
committed
vscode: Clean up launch.json
1 parent 98728d7 commit 0588446

File tree

1 file changed

+6
-56
lines changed

1 file changed

+6
-56
lines changed

.vscode/launch.json

Lines changed: 6 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,6 @@
11
{
22
"version": "0.2.0",
3-
"inputs": [
4-
{
5-
"id": "workspace",
6-
"type": "pickString",
7-
"description": "Pick the workspace root for this session",
8-
"default": "code/",
9-
"options": [
10-
{
11-
"label": "code",
12-
"value": "code"
13-
},
14-
{
15-
"label": "docs",
16-
"value": "docs"
17-
},
18-
{
19-
"label": "demo",
20-
"value": "lib/esbonio/tests/workspaces/demo"
21-
},
22-
]
23-
}
24-
],
3+
"inputs": [],
254
"configurations": [
265
{
276
"name": "VSCode Extension",
@@ -38,39 +17,9 @@
3817
],
3918
"preLaunchTask": "${defaultBuildTask}",
4019
},
41-
{
42-
"name": "VSCode Web Extension",
43-
"type": "extensionHost",
44-
"debugWebWorkerHost": true,
45-
"request": "launch",
46-
"args": [
47-
"--extensionDevelopmentPath=${workspaceRoot}/code",
48-
"--extensionDevelopmentKind=web",
49-
"--folder-uri=${workspaceRoot}/${input:workspace}"
50-
],
51-
"outFiles": [
52-
"${workspaceRoot}/code/dist/browser/**/*.js"
53-
],
54-
"preLaunchTask": "${defaultBuildTask}",
55-
},
56-
{
57-
"name": "Docs",
58-
"type": "python",
59-
"request": "launch",
60-
"module": "sphinx.cmd.build",
61-
"args": [
62-
"-M",
63-
"html",
64-
".",
65-
"_build",
66-
"-Ea"
67-
],
68-
"python": "${command:python.interpreterPath}",
69-
"cwd": "${workspaceFolder}/docs"
70-
},
7120
{
7221
"name": "pytest: esbonio",
73-
"type": "python",
22+
"type": "debugpy",
7423
"request": "launch",
7524
"module": "pytest",
7625
"justMyCode": false,
@@ -84,19 +33,20 @@
8433
},
8534
{
8635
"name": "Python: Attach",
87-
"type": "python",
36+
"type": "debugpy",
8837
"request": "attach",
8938
"connect": {
9039
"host": "localhost",
9140
"port": 5678
9241
},
9342
"pathMappings": [
9443
{
95-
"localRoot": "${workspaceFolder}/lib/esbonio",
44+
"localRoot": "${workspaceFolder}",
9645
"remoteRoot": "."
9746
}
9847
],
99-
"justMyCode": false
48+
"justMyCode": false,
49+
"subProcess": true,
10050
},
10151
],
10252
}

0 commit comments

Comments
 (0)