You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the time, google.com (site being launched in this case, happens with any site) will open in one window, and devtools will open in another window:
Occasionally, both windows will initialize but google.com will open in the window intended for devtools (making the devtools inaccessible), leaving the window intended for google.com in an odd state. This occurs maybe 20% of the time on my Windows 10 machine.
The text was updated successfully, but these errors were encountered:
Yep, I've been encountering the same issue on Mac.
A crude workaround:
constapp=awaitcarlo.launch({args: ['--auto-open-devtools-for-tabs']});app.on('exit',()=>process.exit());app.serveFolder(__dirname);awaitapp.createWindow();// create a second windowawaitapp.mainWindow().close();// dispose the first windowawaitapp.load('index.html');
When debugging, it is useful to automatically launch devtools for the window, using the "--auto-open-devtools-for-tabs" flag.
Example main.js:
Most of the time, google.com (site being launched in this case, happens with any site) will open in one window, and devtools will open in another window:
Occasionally, both windows will initialize but google.com will open in the window intended for devtools (making the devtools inaccessible), leaving the window intended for google.com in an odd state. This occurs maybe 20% of the time on my Windows 10 machine.
The text was updated successfully, but these errors were encountered: