xiongzhu 2 лет назад
Родитель
Сommit
12a85c702e
1 измененных файлов с 8 добавлено и 10 удалено
  1. 8 10
      .vscode/launch.json

+ 8 - 10
.vscode/launch.json

@@ -4,14 +4,12 @@
     // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
     // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
     "version": "0.2.0",
     "version": "0.2.0",
     "configurations": [
     "configurations": [
-        {
-            "type": "node",
-            "request": "launch",
-            "name": "Debug Nest Framework",
-            "args": ["${workspaceFolder}/src/main.ts"],
-            "runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
-            "sourceMaps": true,
-            "cwd": "${workspaceRoot}"
-        }
+      {
+        "type": "node",
+        "request": "attach",
+        "name": "Attach NestJS WS",
+        "port": 9229,
+        "restart": true
+      }
     ]
     ]
-}
+  }