mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 14:17:13 -05:00
document chrome debugging
This commit is contained in:
parent
b66c03d673
commit
0990fbb208
1 changed files with 4 additions and 1 deletions
|
|
@ -45,7 +45,10 @@ Anki's webviews are now using WebEngine. Of note:
|
||||||
modified to use this.
|
modified to use this.
|
||||||
- Javascript is evaluated asynchronously, so if you need the result of a JS
|
- Javascript is evaluated asynchronously, so if you need the result of a JS
|
||||||
expression you can use ankiwebview's evalWithCallback().
|
expression you can use ankiwebview's evalWithCallback().
|
||||||
|
- You can now debug the webviews using an external Chrome instance, by setting
|
||||||
|
the env var QTWEBENGINE_REMOTE_DEBUGGING to 8080 prior to starting Anki,
|
||||||
|
then surfing to localhost:8080 in Chrome. If you run into issues, try
|
||||||
|
connecting with Chrome 49.
|
||||||
|
|
||||||
Sharing updated add-ons
|
Sharing updated add-ons
|
||||||
------------------------
|
------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue