Skip to content

[debug] Introducing debug options for debug builds to allow opening the inspector on startup - #2080

Merged
stffabi merged 1 commit into
wailsapp:masterfrom
stffabi:feature/debug-open-webinspector
Nov 12, 2022
Merged

[debug] Introducing debug options for debug builds to allow opening the inspector on startup#2080
stffabi merged 1 commit into
wailsapp:masterfrom
stffabi:feature/debug-open-webinspector

Conversation

@stffabi

@stffabi stffabi commented Nov 11, 2022

Copy link
Copy Markdown
Contributor

Some known limitations

  • The initial selected tab depends on the platform implementations. (macOS, Windows: Network-Tab, Linux: Sources-Tab)
  • The inspector is always in foreground
  • Network records might be missing for the first load.

Fixes #2059

Tested on:

  • Windows 11 Pro (22621.819)
  • Mac (13.0 - 22A380)
  • Linux (Fedora 35)

@stffabi
stffabi requested a review from leaanthony November 11, 2022 22:09
@stffabi
stffabi force-pushed the feature/debug-open-webinspector branch from 7149f5d to 194d127 Compare November 11, 2022 22:11
@stffabi
stffabi marked this pull request as ready for review November 11, 2022 22:11
@stffabi
stffabi force-pushed the feature/debug-open-webinspector branch from 194d127 to 4bfb549 Compare November 11, 2022 23:08
@leaanthony

Copy link
Copy Markdown
Member

LGTM! Added a test matrix to the main PR details. Can confirm it works well for Win11 👍

@stffabi

stffabi commented Nov 12, 2022

Copy link
Copy Markdown
Contributor Author

Awesome, I've added the OS versions I've successfully tested it.

@stffabi
stffabi force-pushed the feature/debug-open-webinspector branch from 9d73616 to 321aa28 Compare November 12, 2022 08:25
@stffabi
stffabi enabled auto-merge (squash) November 12, 2022 08:41

@leaanthony leaanthony left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stffabi
stffabi merged commit f6e46ac into wailsapp:master Nov 12, 2022
@stffabi
stffabi deleted the feature/debug-open-webinspector branch November 12, 2022 21:03
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

Successfully merging this pull request may close these issues.

Automatically open DevTools in wails dev mode

2 participants