Explorar el Código

feat: add launch configuration for Chrome debugging on localhost

YunaiV hace 4 meses
padre
commit
b9f353c794
Se han modificado 1 ficheros con 15 adiciones y 0 borrados
  1. 15 0
      .vscode/launch.json

+ 15 - 0
.vscode/launch.json

@@ -0,0 +1,15 @@
+{
+  "$schema": "https://json.schemastore.org/launchsettings.json",
+  "version": "0.2.0",
+  "configurations": [
+    {
+      "type": "chrome",
+      "name": "针对 localhost 启动 Chrome",
+      "request": "launch",
+      "url": "http://localhost:9000",
+      "env": { "NODE_ENV": "development" },
+      "sourceMaps": true,
+      "webRoot": "${workspaceFolder}"
+    }
+  ]
+}