diff --git a/.vscode/launch.json b/.vscode/launch.json index 27b78d2..720ecc4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,28 +1,48 @@ { - "version": "0.2.0", - "configurations": [ - { - "name": "Python", - "type": "python", - "request": "launch", - "stopOnEntry": true, - "pythonPath": "${config:python.pythonPath}", - "program": "${file}", - "cwd": "${workspaceRoot}", - "env": {}, - "envFile": "${workspaceRoot}/.env", - "debugOptions": [ - "RedirectOutput" - ] - }, - { - "name": "Current TS Tests File", - "type": "node", - "request": "launch", - "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", - "args": ["-r", "ts-node/register", "${relativeFile}","--ui","tdd","--no-timeouts"], - "cwd": "${workspaceRoot}", - "protocol": "inspector" - } - ] - } \ No newline at end of file + "version": "0.2.0", + "configurations": [ + { + "name": "Current TS File", + "type": "node", + "request": "launch", + "args": [ + "${relativeFile}" + ], + "runtimeArgs": [ + "--nolazy", + "-r", + "ts-node/register" + ], + "sourceMaps": true, + "cwd": "${workspaceRoot}", + "protocol": "inspector", + }, + { + "name": "Python", + "type": "python", + "request": "launch", + "stopOnEntry": true, + "python": "${command:python.interpreterPath}", + "program": "${file}", + "cwd": "${workspaceRoot}", + "env": {}, + "envFile": "${workspaceRoot}/.env", + }, + { + "name": "Current TS Tests File", + "type": "node", + "request": "launch", + "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", + "args": [ + "-r", + "ts-node/register", + "${relativeFile}", + "--ui", + "tdd", + "--no-timeouts" + ], + "cwd": "${workspaceRoot}", + "protocol": "inspector" + } + ] +} \ No newline at end of file