diff options
Diffstat (limited to '.vscode/launch.json')
-rw-r--r-- | .vscode/launch.json | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index cc7b1ce4..f6a37bed 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,13 +5,34 @@ "version": "0.2.0", "configurations": [ { - "name": "Python: Module", + "name": "Server", "type": "python", "request": "launch", "module": "continuedev.src.continuedev.server.main", - "args": ["--port", "8001"], + "args": [ + "--port", + "8001" + ], "justMyCode": false, - "subProcess": false - } + "subProcess": false, + // Does it need a build task? + // What about a watch task? - type errors? + }, + { + "name": "VSCode Extension", + "type": "extensionHost", + "request": "launch", + "cwd": "${workspaceFolder}/extension", + "args": [ + "--extensionDevelopmentPath=${workspaceFolder}/extension", + ], + "outFiles": [ + "${workspaceFolder}/extension/out/**/*.js" + ], + "preLaunchTask": "vscode-extension:build-watch", + "env": { + "CONTINUE_SERVER_URL": "http://localhost:8001" + } + }, ] -} +}
\ No newline at end of file |