Clean up debug.ts by removing comments
Removed commented sections for Debugger State, React DevTools, and Core Utils.
This commit is contained in:
parent
77bfd4ef15
commit
e0a85bb003
1 changed files with 1 additions and 5 deletions
|
|
@ -43,7 +43,6 @@ export async function toggleSafeMode() {
|
|||
setTimeout(BundleUpdaterManager.reload, 400);
|
||||
}
|
||||
|
||||
// --- Debugger State & Logic ---
|
||||
let socket: WebSocket | undefined;
|
||||
let originalConsoleLog: any;
|
||||
let originalConsoleError: any;
|
||||
|
|
@ -254,7 +253,6 @@ export function isConnectedToDebugger(): boolean {
|
|||
return socket?.readyState === WebSocket.OPEN;
|
||||
}
|
||||
|
||||
// --- React DevTools (RDT) Logic ---
|
||||
const rdtPort = 8097;
|
||||
export let rdtClient: WebSocket | null = null;
|
||||
export let rdtConnected = false;
|
||||
|
|
@ -318,8 +316,6 @@ export function useIsRdtConnected() {
|
|||
return connected;
|
||||
}
|
||||
|
||||
// --- Core Utils ---
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
|
|
@ -403,4 +399,4 @@ export function initDebugger() {
|
|||
logger.error("Failed to connect to ReactDevTools during startup:", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue