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

Document DevTools usage for WebViews (especially on Mac OS) #70

Open
Duckwhale opened this issue Feb 27, 2023 · 1 comment
Open

Document DevTools usage for WebViews (especially on Mac OS) #70

Duckwhale opened this issue Feb 27, 2023 · 1 comment

Comments

@Duckwhale
Copy link
Member

Duckwhale commented Feb 27, 2023

On Windows (EDGE) and WSL (WebKit2GTK) it seems to be working as expected: Just press F12 and that's it.

On Mac OS, however, there are some hoops to jump through: Keyboard shortcut is the same as in Safari (CMD + ALT + J), which is already odd and apparently cannot be changed? However, the web inspector is also disabled by default outside of Safari, see https://developer.apple.com/forums/thread/4326 for details.

It might also be worth verifying that the inspector actually works in the real Safari browser first?

Symptoms of it not working: Keyboard shortcut only plays error sound, opening via right-click menu bugs out the WebView (white frame where the dev tools should be...).

@Duckwhale
Copy link
Member Author

See https://webkit.org/blog/13936/enabling-the-inspection-of-web-content-in-apps/

Needs setInspectable flag? (See upstream PR 940)

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

1 participant