diff --git a/.gitignore b/.gitignore index 22f55ad..b5283f9 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,8 @@ lerna-debug.log* *.launch .settings/ *.sublime-workspace +Session.vim +vimlog # IDE - VSCode .vscode/* diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..6d46664 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "pwa-node", + "request": "launch", + "name": "Debug Nest Framework", + "args": ["${workspaceFolder}/src/main.ts"], + "runtimeArgs": ["--nolazy", "-r", "ts-node/register", "-r", "tsconfig-paths/register"], + "sourceMaps": true, + "cwd": "${workspaceFolder}", + "protocol": "inspector" + } + ] +} diff --git a/package.json b/package.json index 61bd4ed..0811ae3 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "start": "nest start", "start:dev": "nest start --watch", "start:debug": "nest start --debug --watch", + "start:debug:ts:brk": "node --inspect-brk --require ts-node/register index.ts", "start:prod": "node dist/main", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "test": "jest",