티스토리 뷰

기록

VSCode NestJS Debugger 설정

Korean Eagle 2022. 9. 24. 13:28
728x90

1. 설명은 생략한다. 

 

{
  // 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": [
    {
      "type": "node",
      "request": "launch",
      "name": "Debug Nest Launch Program",
      "args": [
        "${workspaceFolder}/src/main.ts"
      ],
      // "runtimeExecutable": "nest",
      "runtimeArgs": [
        "--lazy",
        "-r",
        "ts-node/register",
        "-r",
        "tsconfig-paths/register"
      ],
      "env": {
        "NODE_ENV": "developement"
      },
      "sourceMaps": true,
      "cwd": "${workspaceRoot}",
      "console": "integratedTerminal",
    }
  ]
}
728x90
댓글