impr(dev): add debug launch configurations for vscode (@fehmer) (#5501)

!nuf
This commit is contained in:
Christian Fehmer 2024-06-17 15:48:09 +02:00 committed by GitHub
parent f4f83cf489
commit b5f1225df0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 21 additions and 0 deletions

1
.gitignore vendored
View file

@ -72,6 +72,7 @@ node_modules_bak/
.vscode/*
.vscode/.*
!.vscode/extensions.json
!.vscode/launch.json
*.code-workspace
!monkeytype.code-workspace

20
.vscode/launch.json vendored Normal file
View file

@ -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"
}
]
}