mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-08-03 12:46:29 -04:00
Add instructions to debug ZIM rendering
This commit is contained in:
parent
eeb78333ad
commit
dbc99ccfcb
12
README.md
12
README.md
@ -139,6 +139,18 @@ environment variable:
|
||||
LD_LIBRARY_PATH="<...>/BUILD_native_dyn/INSTALL/lib/x86_64-linux-gnu"
|
||||
```
|
||||
|
||||
Debug a specific ZIM
|
||||
---
|
||||
|
||||
`kiwix-desktop` uses **Qt WebEngine** to render ZIM content, relying on a custom `zim:` protocol to expose the ZIM data to the WebEngine.
|
||||
|
||||
To debug issues related to WebEngine, follow these steps:
|
||||
|
||||
1. Launch `kiwix-desktop` with the environment variable `QTWEBENGINE_REMOTE_DEBUGGING=<port>` set (replace `<port>` with an available local port number).
|
||||
2. Open the desired ZIM file in the `kiwix-desktop` user interface.
|
||||
3. In a Chromium-based browser, go to: `http://localhost:<port>`.
|
||||
4. This opens the remote debugging UI. Use it to access Chrome DevTools connected to the ZIM webpage rendered by WebEngine.
|
||||
|
||||
## Communication
|
||||
|
||||
Available communication channels:
|
||||
|
Loading…
x
Reference in New Issue
Block a user