feat: add Developer Tools integration with shortcut for enhanced debugging
This commit is contained in:
parent
44dbc9b2e5
commit
e3fae14c69
3 changed files with 113 additions and 1 deletions
|
|
@ -7,6 +7,10 @@ import sys
|
|||
# This ensures CSS media queries (hover: hover) evaluate correctly for desktop applications
|
||||
os.environ["QTWEBENGINE_CHROMIUM_FLAGS"] = "--touch-events=disabled"
|
||||
|
||||
# Enable Qt WebEngine Remote Debugging Protocol (Chromium Developer Tools)
|
||||
# Allows debugging via browser DevTools at http://localhost:9222 or edge://inspect
|
||||
os.environ["QTWEBENGINE_REMOTE_DEBUGGING"] = "9222"
|
||||
|
||||
from PySide6.QtWidgets import QApplication
|
||||
|
||||
from webdrop_bridge.config import Config, ConfigurationError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue