MCPcopy Create free account
hub / github.com/jhen0409/react-native-debugger / activeTabs

Function activeTabs

electron/devtools.js:60–68  ·  view source on GitHub ↗
(win)

Source from the content-addressed store, hash-verified

58}
59
60export const activeTabs = (win) => {
61 if (win.devToolsWebContents) {
62 // Active network tab so we can do clearNetworkLogs
63 return win.devToolsWebContents.executeJavaScript(`(() => {
64 DevToolsAPI.showPanel('network');
65 DevToolsAPI.showPanel('console');
66 })()`)
67 }
68}

Callers 1

createWindowFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected