Skip to content

NestJS 调试方法

Published: at 11:45 AMSuggest Changes

问题

NestJS debug 调试

解决

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "My application Name",
      "runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
      "args": ["${workspaceFolder}/src/main.ts"],
      "autoAttachChildProcesses": true
    }
  ]
}

参考文章


Previous Post
Electron 中编译安装 Sqlite3 的方法与问题排查
Next Post
JS URL 正则表达式判断