diff options
author | Christian Fehmer <[email protected]> | 2024-06-17 15:48:09 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-06-17 15:48:09 +0200 |
commit | b5f1225df079b8f5c114750bbc69e3d81a6ddb87 (patch) | |
tree | 8eaee6213c66c541d5bdafe2b388b984285a108b | |
parent | f4f83cf48970b834b24d3bf86a9db885963e65e6 (diff) | |
download | monkeytype-b5f1225df079b8f5c114750bbc69e3d81a6ddb87.tar.gz monkeytype-b5f1225df079b8f5c114750bbc69e3d81a6ddb87.zip |
impr(dev): add debug launch configurations for vscode (@fehmer) (#5501)
!nuf
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | .vscode/launch.json | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 1d8a09751..bcbe86153 100644 --- a/.gitignore +++ b/.gitignore @@ -72,6 +72,7 @@ node_modules_bak/ .vscode/* .vscode/.* !.vscode/extensions.json +!.vscode/launch.json *.code-workspace !monkeytype.code-workspace diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..ba29bf63c --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,20 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "attach", + "name": "Debug attach backend", + "port": 9229, + "skipFiles": ["<node_internals>/**"] + }, + { + "name": "Vite Debugger", + "type": "chrome", + "request": "launch", + "port": 9222, + "url": "http://localhost:3000", + "webRoot": "${workspaceFolder}/frontend/src" + } + ] +} |