![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2025
Device: Readium
|
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,339
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use the inspector which is a full chrome devtools instance.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2025
Device: Readium
|
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,339
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Right click to access the viewer control and choose inspector
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Javascript | serrafa | Sigil | 2 | 12-22-2023 09:02 AM |
WAF Any way to debug a javascript/mesquite/waf app? | rpavlik | Kindle Developer's Corner | 0 | 03-07-2021 04:41 PM |
Ctrl-Shft-R Debug vs calibre-debug -g | JimmXinu | Development | 3 | 11-20-2014 09:57 AM |
Bug: --debug-javascript broken on Mac | Yves000 | Development | 5 | 05-24-2013 02:20 AM |
I need Javascript help | Nate the great | Workshop | 4 | 04-04-2009 12:55 AM |