sindresorhus/electron-debug

Add option to open DevTools

Open

#32 创建于 2016年2月27日

在 GitHub 查看
 (10 评论) (2 反应) (0 负责人)JavaScript (776 star) (56 fork)user submission
enhancementhelp wanted

描述

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).

贡献者指南

Add option to open DevTools · sindresorhus/electron-debug#32 | Good First Issue