mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
Fixes vite launch config env variables (#278753)
This commit is contained in:
committed by
GitHub
parent
0d1433a1bb
commit
2b1a433829
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@@ -298,8 +298,10 @@
|
|||||||
"VSCODE_EXTHOST_WILL_SEND_SOCKET": null,
|
"VSCODE_EXTHOST_WILL_SEND_SOCKET": null,
|
||||||
"VSCODE_SKIP_PRELAUNCH": "1",
|
"VSCODE_SKIP_PRELAUNCH": "1",
|
||||||
"VSCODE_DEV_DEBUG": "1",
|
"VSCODE_DEV_DEBUG": "1",
|
||||||
|
"VSCODE_DEV_SERVER_URL": "http://localhost:5199/build/vite/workbench-vite-electron.html",
|
||||||
"DEV_WINDOW_SRC": "http://localhost:5199/build/vite/workbench-vite-electron.html",
|
"DEV_WINDOW_SRC": "http://localhost:5199/build/vite/workbench-vite-electron.html",
|
||||||
"VSCODE_DEV_DEBUG_OBSERVABLES": "1",
|
"VSCODE_DEV_DEBUG_OBSERVABLES": "1",
|
||||||
|
"VSCODE_DEV": "1"
|
||||||
},
|
},
|
||||||
"cleanUp": "wholeBrowser",
|
"cleanUp": "wholeBrowser",
|
||||||
"runtimeArgs": [
|
"runtimeArgs": [
|
||||||
|
|||||||
@@ -126,6 +126,9 @@ logger.warn = (msg, options) => {
|
|||||||
if (msg.indexOf('await import(new URL(`vs/workbench/workbench.desktop.main.js`, baseUrl).href)') !== -1) {
|
if (msg.indexOf('await import(new URL(`vs/workbench/workbench.desktop.main.js`, baseUrl).href)') !== -1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (msg.indexOf('const result2 = await import(workbenchUrl);') !== -1) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// See https://github.com/microsoft/vscode/issues/278153
|
// See https://github.com/microsoft/vscode/issues/278153
|
||||||
if (msg.indexOf('marked.esm.js.map') !== -1 || msg.indexOf('purify.es.mjs.map') !== -1) {
|
if (msg.indexOf('marked.esm.js.map') !== -1 || msg.indexOf('purify.es.mjs.map') !== -1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user