feat: add inspector node debug support

This commit is contained in:
oceanlvr
2022-02-14 17:48:27 +08:00
parent f0424cbc4c
commit 9c902494a1
6 changed files with 68 additions and 18 deletions

21
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,21 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "prebuild",
"group": "build",
"problemMatcher": [],
"label": "npm: prebuild",
"detail": "vue-tsc --project packages/renderer/tsconfig.json --noEmit && node scripts/build.mjs"
},
{
"type": "npm",
"script": "debug",
"problemMatcher": [],
"label": "npm: debug",
"detail": "npm run prebuild && vite ./packages/renderer",
"group": "build"
},
]
}