mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
feat: make easy to run debug mode
This commit is contained in:
parent
6da05598bf
commit
0b17a5f3fb
2 changed files with 44 additions and 10 deletions
18
.vscode/launch.json
vendored
18
.vscode/launch.json
vendored
|
|
@ -10,20 +10,20 @@
|
|||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "${execPath}",
|
||||
"args": [
|
||||
"--extensionDevelopmentPath=${workspaceFolder}",
|
||||
],
|
||||
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
|
||||
"sourceMaps": true,
|
||||
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
||||
"preLaunchTask": "compile",
|
||||
"preLaunchTask": "debug-mode",
|
||||
"env": {
|
||||
"NODE_ENV": "development",
|
||||
"VSCODE_DEBUG_MODE": "true"
|
||||
},
|
||||
"resolveSourceMapLocations": [
|
||||
"${workspaceFolder}/**",
|
||||
"!**/node_modules/**"
|
||||
]
|
||||
},
|
||||
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"],
|
||||
"presentation": {
|
||||
"hidden": false,
|
||||
"group": "tasks",
|
||||
"order": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
36
.vscode/tasks.json
vendored
36
.vscode/tasks.json
vendored
|
|
@ -7,7 +7,6 @@
|
|||
"label": "compile",
|
||||
"type": "npm",
|
||||
"script": "compile",
|
||||
"dependsOn": ["npm: build:webview"],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
|
|
@ -29,6 +28,41 @@
|
|||
"isDefault": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "debug-mode",
|
||||
"dependsOn": ["compile", "npm: dev"],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": false
|
||||
},
|
||||
"dependsOrder": "parallel",
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "new"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "dev",
|
||||
"group": "build",
|
||||
"problemMatcher": {
|
||||
"owner": "vite",
|
||||
"pattern": {
|
||||
"regexp": "^$"
|
||||
},
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": ".*VITE.*",
|
||||
"endsPattern": ".*Local:.*"
|
||||
}
|
||||
},
|
||||
"isBackground": true,
|
||||
"label": "npm: dev",
|
||||
"presentation": {
|
||||
"group": "watch",
|
||||
"reveal": "never"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "build:webview",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue