From 1edf59172159726c42877b050662147faa37dbc4 Mon Sep 17 00:00:00 2001 From: KeepRunning Date: Wed, 22 Mar 2023 18:35:10 +0800 Subject: [PATCH] =?UTF-8?q?chore(vsc-debug):=20=E5=A2=9E=E5=8A=A0=20visual?= =?UTF-8?q?-studio-code=20=E7=9A=84=20debug=20=E5=90=AF=E5=8A=A8=E6=96=87?= =?UTF-8?q?=E4=BB=B6=20(#296)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/launch.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..cbd43f6 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,25 @@ +{ + // 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": "chrome", + "request": "launch", + "name": "Launch Web App", + "url": "http://localhost:1002", + "webRoot": "${workspaceFolder}" + }, + { + "type": "node", + "request": "launch", + "name": "Launch Service Server", + "runtimeExecutable": "${workspaceFolder}/service/node_modules/.bin/esno", + "skipFiles": ["/**"], + "program": "${workspaceFolder}/service/src/index.ts", + "outFiles": ["${workspaceFolder}/service/**/*.js"], + "envFile": "${workspaceFolder}/service/.env" + } + ] +}