Update dev README with QML logging instructions (#1161)

Added instructions for enabling QML logging in the README.
This commit is contained in:
Eric Gregory authored and GitHub committed 2026-02-25 11:57:42 -05:00
1 parent 2bc0c4fe8c
commit 95fb02916c
1 file changed
+8
+8
View File
@@ -17,3 +17,11 @@ To get browser devtools, use remote debugging:
1. Run with `--remote-debugging-port=9222`
2. Open Chromium/Chrome and navigate to `chrome://inspect/#devices`
3. Make sure "Discover Network Targets" is checked and `localhost:9222` is configured
## QML Logging
The `console.log()` statements in QML are not printed to the console by default. The simplest workaround for this is to add the following command line argument:
`--log-level debug`
For Qt Creator users, click Projects in the left sidebar, select the "Run Settings" tab, and paste that into the "Command line arguments" text field.