sindresorhus/electron-debug

Add option to open DevTools

Open

#32 aperta il 27 feb 2016

Vedi su GitHub
 (10 commenti) (2 reazioni) (0 assegnatari)JavaScript (56 fork)user submission
enhancementhelp wanted

Metriche repository

Star
 (776 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

The more I use electron-debug, the more I'm annoyed by this use case. I open DevTools with toggle shortcut, then often it got covered by other windows, but still open. After a while, I often forgot it is open and I press toggle key to show DevTools, but since it's already opened, it close.

I think it should be useful to add an option to just open it if closed, or otherwise focus it. I don't think there is a specific method in electron to focus, we could ask for it (or maybe it could suffice to re-open it, I have to try).

Guida contributor