Merge pull request #54 from electron-vite/fix/220801-debug

The task 'start .debug.script.mjs' cannot be tracked | Cannot connect to the target at localhost:9229
This commit is contained in:
草鞋没号 authored and GitHub committed 2022-08-01 16:53:12 +08:00
commit 3efcb1a27d
2 files changed
+19 -2

No files matched your search

+2 -1
View File
@@ -38,7 +38,8 @@
"name": "Debug Renderer Process", "name": "Debug Renderer Process",
"port": 9229, "port": 9229,
"request": "attach", "request": "attach",
"type": "pwa-chrome" "type": "pwa-chrome",
"timeout": 60000
}, },
] ]
} }
+17 -1
View File
@@ -8,7 +8,23 @@
"type": "shell", "type": "shell",
"command": "node .vscode/.debug.script.mjs", "command": "node .vscode/.debug.script.mjs",
"isBackground": true, "isBackground": true,
"problemMatcher": [] "problemMatcher": {
"owner": "typescript",
"fileLocation": "relative",
"pattern": {
"regexp": "^([a-zA-Z]\\:\/?([\\w\\-]\/?)+\\.\\w+):(\\d+):(\\d+): (ERROR|WARNING)\\: (.*)$",
"file": 1,
"line": 3,
"column": 4,
"code": 5,
"message": 6
},
"background": {
"activeOnStart": true,
"beginsPattern": "^.*building for development.*$",
"endsPattern": "built in [0-9]*ms.*$",
}
}
} }
] ]
} }