From 517d82f42f554797888e9aca418f8bb015065013 Mon Sep 17 00:00:00 2001 From: Adam Cooper Date: Mon, 1 Jan 2024 13:53:46 -0500 Subject: [PATCH] WIP --- .gitignore | 2 ++ .vscode/launch.json | 15 +++++++++++++++ package.json | 1 + 3 files changed, 18 insertions(+) create mode 100644 .vscode/launch.json 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",