Skip to content

How to debug qt webengine

Matthieu Gallien edited this page Dec 1, 2023 · 2 revisions

The desktop client embedded Qt WebEngine module can be remotely access to debug it and use the chromium devtools.

If you run Linux, using our official Appimage package, you can use the following command line:

QTWEBENGINE_REMOTE_DEBUGGING=8081 QTWEBENGINE_CHROMIUM_FLAGS="--webEngineArgs --remote-debugging-port=8081"  ./Nextcloud-3.10.1-x86_64.AppImage

After that is done and once the client has created the webengine powered web view, you can connect via a chromium based browser by doing this:

chromium http://localhost:8081