feat: add launch configuration for debugging in VSCode

This commit is contained in:
vchikalkin 2025-12-26 13:46:16 +03:00
parent 5b9037b069
commit fae8dc1b5e

24
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,24 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Attach by Process ID",
"processId": "${command:PickProcess}",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
},
{
"type": "node-terminal",
"name": "Run Script: dev (Next-Downloader-Bot)",
"request": "launch",
"command": "npm run dev",
"cwd": "${workspaceFolder}"
}
]
}