From 641f6ca0795a5a4ef0f284387418256f8a9af52f Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Sat, 29 Nov 2025 21:31:58 -0500 Subject: [PATCH] Fix remote debugging --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 02e6cc7..fd9f387 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -234,6 +234,8 @@ int main(int argc, char *argv[]) // Disable QtWebEngine's automatic MPRIS registration - we handle it ourselves qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-features=MediaSessionService,HardwareMediaKeyHandling"); #endif + if (parser.isSet("remote-debugging-port")) + qputenv("QTWEBENGINE_REMOTE_DEBUGGING", parser.value("remote-debugging-port").toUtf8()); QtWebEngineQuick::initialize(); QApplication app(newArgc, newArgv);