From 34f07fb3f5af9574816d805d7888d53e3731a353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A3=AB=E5=AD=90=E2=98=80=EF=B8=8F?= <84996057@qq.com> Date: Tue, 27 Feb 2024 23:11:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=20=20add=20vscode=20debug=20c?= =?UTF-8?q?onfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 - .vscode/launch.json | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index d740e12c..047399eb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ node_modules -.vscode *.local .idea .parcel-cache diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..05774fc7 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,23 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Launch dev", + "runtimeExecutable": "npm", + "runtimeArgs": ["run-script", "dev"], + "skipFiles": ["/**"] + }, + { + "name": "Attach to Electron", + "type": "node", + "request": "attach", + "address": "localhost", + "restart": true, + "timeout": 10000, + "localRoot": "${workspaceFolder}", + "remoteRoot": "${workspaceFolder}" + } + ] +}