File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
packages/wrangler/src/dev Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,11 @@ import type { DevEnv } from "../api";
99
1010export default function registerDevHotKeys (
1111 devEnvs : DevEnv [ ] ,
12- args : { forceLocal ?: boolean ; experimentalTailLogs : boolean } ,
12+ args : {
13+ forceLocal ?: boolean ;
14+ experimentalTailLogs : boolean ;
15+ remote : boolean ;
16+ } ,
1317 render = true
1418) {
1519 const primaryDevEnv = devEnvs [ 0 ] ;
@@ -28,7 +32,8 @@ export default function registerDevHotKeys(
2832 label : "open devtools" ,
2933 // Don't display this hotkey if we're in a VSCode debug session
3034 disabled :
31- ! ! process . env . VSCODE_INSPECTOR_OPTIONS || args . experimentalTailLogs ,
35+ ! ! process . env . VSCODE_INSPECTOR_OPTIONS ||
36+ ( args . remote && args . experimentalTailLogs ) ,
3237 handler : async ( ) => {
3338 const { inspectorUrl } = await primaryDevEnv . proxy . ready . promise ;
3439
You can’t perform that action at this time.
0 commit comments