feat: configure VScode launch entrypoints

pull/15/head
David Ordás 2022-09-30 09:16:08 +02:00
parent 72c7047c0b
commit 363d14fc2b
No known key found for this signature in database
GPG Key ID: 6FD751229911593E
1 changed files with 39 additions and 0 deletions

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

@ -0,0 +1,39 @@
{
// 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": "Run FPB parser",
"type": "node",
"request": "launch",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/index.js",
"args": [
"--input",
"${workspaceFolder}/../free-programming-books/books",
"--input",
"${workspaceFolder}/../free-programming-books/casts",
"--input",
"${workspaceFolder}/../free-programming-books/courses",
"--input",
"${workspaceFolder}/../free-programming-books/more",
"--output",
"${workspaceFolder}/fpb.json"
]
},
{
"name": "Debug Jest Tests",
"type": "node",
"request": "launch",
"runtimeArgs": [
"--inspect-brk",
"${workspaceFolder}/node_modules/jest/bin/jest.js",
"--runInBand"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}