Skip to content

Commit

Permalink
vscode: Clean up launch.json
Browse files Browse the repository at this point in the history
  • Loading branch information
alcarney committed Oct 16, 2024
1 parent 4c16406 commit f4fb3f9
Showing 1 changed file with 6 additions and 56 deletions.
62 changes: 6 additions & 56 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,6 @@
{
"version": "0.2.0",
"inputs": [
{
"id": "workspace",
"type": "pickString",
"description": "Pick the workspace root for this session",
"default": "code/",
"options": [
{
"label": "code",
"value": "code"
},
{
"label": "docs",
"value": "docs"
},
{
"label": "demo",
"value": "lib/esbonio/tests/workspaces/demo"
},
]
}
],
"inputs": [],
"configurations": [
{
"name": "VSCode Extension",
Expand All @@ -38,39 +17,9 @@
],
"preLaunchTask": "${defaultBuildTask}",
},
{
"name": "VSCode Web Extension",
"type": "extensionHost",
"debugWebWorkerHost": true,
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceRoot}/code",
"--extensionDevelopmentKind=web",
"--folder-uri=${workspaceRoot}/${input:workspace}"
],
"outFiles": [
"${workspaceRoot}/code/dist/browser/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}",
},
{
"name": "Docs",
"type": "python",
"request": "launch",
"module": "sphinx.cmd.build",
"args": [
"-M",
"html",
".",
"_build",
"-Ea"
],
"python": "${command:python.interpreterPath}",
"cwd": "${workspaceFolder}/docs"
},
{
"name": "pytest: esbonio",
"type": "python",
"type": "debugpy",
"request": "launch",
"module": "pytest",
"justMyCode": false,
Expand All @@ -84,19 +33,20 @@
},
{
"name": "Python: Attach",
"type": "python",
"type": "debugpy",
"request": "attach",
"connect": {
"host": "localhost",
"port": 5678
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}/lib/esbonio",
"localRoot": "${workspaceFolder}",
"remoteRoot": "."
}
],
"justMyCode": false
"justMyCode": false,
"subProcess": true,
},
],
}

0 comments on commit f4fb3f9

Please sign in to comment.