diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..74340de --- /dev/null +++ b/.vscode/launch.json @@ -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": ["/**"], + "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" + } + ] +}