setup: add launch.json

This commit is contained in:
Pavel Prichodko 2022-05-29 16:52:34 +02:00 committed by Felicio Mununga
parent b19bd0a79c
commit da655ee2e2
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
3 changed files with 25 additions and 3 deletions

View File

@ -2,5 +2,4 @@
**/node_modules
.parcel-cache
.github
.vscode
**/protos

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

@ -0,0 +1,23 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch status-js",
"program": "${workspaceFolder}/packages/status-js/src/index.ts",
"preLaunchTask": "npm: build:status-js",
"outFiles": ["${workspaceFolder}/packages/status-js/dist/index.js"],
"sourceMaps": true,
"smartStep": true,
"internalConsoleOptions": "openOnSessionStart",
"skipFiles": [
"${workspaceFolder}/node_modules/**/*",
"<node_internals>/**/*.js"
],
"sourceMapPathOverrides": {
"packages/status-js/*": "${workspaceFolder}/packages/status-js/*"
}
}
]
}