feat: add Developer Tools integration with shortcut for enhanced debugging

This commit is contained in:
claudi 2026-03-04 16:56:38 +01:00
parent 44dbc9b2e5
commit e3fae14c69
3 changed files with 113 additions and 1 deletions

View file

@ -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