Testing and debugging
Testing the plugin
kpackagetool5 -t Plasma/Comic -i my_comic.comicplasmoidviewer -a org.kde.plasma.comicrm -r ~/.local/share/plasma_engine_comic/Debugging the plugin
function init() {
...
var url = "XY" + comic.identifier;
print("***url: " + url);
...
}
function pageRetrieved(id: string, data) {
if (id === comic.page) {
print("****in comic.page");
...
print("****a");
...
print("****b");
...
print("****id: " + comic.identifier);
}
}Last updated