This commit is contained in:
Adam Cooper 2024-01-01 13:53:46 -05:00
parent cd7bcf77e4
commit 517d82f42f
3 changed files with 18 additions and 0 deletions

2
.gitignore vendored
View file

@ -26,6 +26,8 @@ lerna-debug.log*
*.launch
.settings/
*.sublime-workspace
Session.vim
vimlog
# IDE - VSCode
.vscode/*

15
.vscode/launch.json vendored Normal file
View file

@ -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"
}
]
}

View file

@ -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",