pavlobu / deskreen

Deskreen turns any device with a web browser into a secondary screen for your computer. ⭐️ Star to support our work!

Home Page:https://deskreen.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allowing webdev tools to be opened

ferrlen opened this issue · comments

Would it be possible to allow the Electron dev console to be used in Deskreen? This might make it much easier to debug issues (or, for example, to remove the "No Wifi or Lan connection" prompt that is blocking the app in many bug reports). Since this comes for free with an Electron app, it'd be great if the console could be activated by the user.

I thought it was on by default, but if it needs to be added it could be as simple as:

mainWindow.webContents.openDevTools();
// or to add it as a top menu option
mainWindow.setMenu(theMenuGoesHere)

Thanks a lot for the great work with Deskreen!