Adds hot reload launch config (#277123)

* Adds hot reload launch config

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
This commit is contained in:
Henning Dieterichs
2025-11-21 11:18:47 +01:00
committed by GitHub
parent 76fb5a42b1
commit a335d51f66
22 changed files with 104 additions and 16 deletions

14
.vscode/launch.json vendored
View File

@@ -282,7 +282,7 @@
// To debug observables you also need the extension "ms-vscode.debug-value-editor"
"type": "chrome",
"request": "launch",
"name": "Launch VS Code Internal (Dev Debug)",
"name": "Launch VS Code Internal (Hot Reload)",
"windows": {
"runtimeExecutable": "${workspaceFolder}/scripts/code.bat"
},
@@ -298,6 +298,7 @@
"VSCODE_EXTHOST_WILL_SEND_SOCKET": null,
"VSCODE_SKIP_PRELAUNCH": "1",
"VSCODE_DEV_DEBUG": "1",
"DEV_WINDOW_SRC": "http://localhost:5199/build/vite/workbench-vite-electron.html",
"VSCODE_DEV_DEBUG_OBSERVABLES": "1",
},
"cleanUp": "wholeBrowser",
@@ -322,6 +323,7 @@
"presentation": {
"hidden": true,
},
"preLaunchTask": "Launch Monaco Editor Vite"
},
{
"type": "node",
@@ -591,7 +593,7 @@
"name": "Monaco Editor - Playground",
"type": "chrome",
"request": "launch",
"url": "https://microsoft.github.io/monaco-editor/playground.html?source=http%3A%2F%2Flocalhost%3A5199%2Fbuild%2Fmonaco-editor-playground%2Findex.ts%3Fesm#example-creating-the-editor-hello-world",
"url": "https://microsoft.github.io/monaco-editor/playground.html?source=http%3A%2F%2Flocalhost%3A5199%2Fbuild%2Fvite%2Findex.ts%3Fesm#example-creating-the-editor-hello-world",
"preLaunchTask": "Launch Monaco Editor Vite",
"presentation": {
"group": "monaco",
@@ -602,7 +604,7 @@
"name": "Monaco Editor - Self Contained Diff Editor",
"type": "chrome",
"request": "launch",
"url": "http://localhost:5199/build/monaco-editor-playground/index.html",
"url": "http://localhost:5199/build/vite/index.html",
"preLaunchTask": "Launch Monaco Editor Vite",
"presentation": {
"group": "monaco",
@@ -613,7 +615,7 @@
"name": "Monaco Editor - Workbench",
"type": "chrome",
"request": "launch",
"url": "http://localhost:5199/build/monaco-editor-playground/workbench-vite.html",
"url": "http://localhost:5199/build/vite/workbench-vite.html",
"preLaunchTask": "Launch Monaco Editor Vite",
"presentation": {
"group": "monaco",
@@ -638,10 +640,10 @@
}
},
{
"name": "VS Code (Debug Observables)",
"name": "VS Code (Hot Reload)",
"stopAll": true,
"configurations": [
"Launch VS Code Internal (Dev Debug)",
"Launch VS Code Internal (Hot Reload)",
"Attach to Main Process",
"Attach to Extension Host",
"Attach to Shared Process",