Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问下大佬怎么打开调试工具 #27

Open
a5702094 opened this issue Jan 15, 2025 · 2 comments
Open

请问下大佬怎么打开调试工具 #27

a5702094 opened this issue Jan 15, 2025 · 2 comments
Assignees

Comments

@a5702094
Copy link

ctrl+shift+i 没有反应,
mainWindow.webContents.openDevTools() 用代码打开也没有反应,求大佬指导

@a5702094
Copy link
Author

解决了部分 在create函数里写 this.winInst.webContents.openDevTools(),但是为什么快捷键没用

@nevlf
Copy link
Collaborator

nevlf commented Jan 17, 2025

快捷键需要注册,可以参考官网 https://www.electronjs.org/zh/docs/latest/api/global-shortcut

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants