|
|
#1 |
|
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jun 2025
Device: Apple Books, Thorium Reader
|
Debug JavaScript?
Hello everyone, I'm getting a JavaScript error in the Viewer, but not in the Editor. What's the best way to debug JavaScript in calibre?
|
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,611
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use the inspector which is a full chrome devtools instance.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jun 2025
Device: Apple Books, Thorium Reader
|
Thanks. How do I use the Inspector with the Viewer? The error is only apparent when opening the EPUB in the Viewer.
|
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,611
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Right click to access the viewer control and choose inspector
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Javascript | serrafa | Sigil | 2 | 12-22-2023 10:02 AM |
| WAF Any way to debug a javascript/mesquite/waf app? | rpavlik | Kindle Developer's Corner | 0 | 03-07-2021 05:41 PM |
| Ctrl-Shft-R Debug vs calibre-debug -g | JimmXinu | Development | 3 | 11-20-2014 10:57 AM |
| Bug: --debug-javascript broken on Mac | Yves000 | Development | 5 | 05-24-2013 03:20 AM |
| I need Javascript help | Nate the great | Workshop | 4 | 04-04-2009 01:55 AM |