Is there a console we can use while developing addons?
Moderators: jiri, drakinite, Addon Administrators
Is there a console we can use while developing addons?
I am trying to add musixmatch as a lyric source. Is there a console of some sorts that we can use while developing? I am trying to see if the right container containing the lyrics is getting grabbed.
Re: Is there a console we can use while developing addons?
You can debug using Chrome's debugging tools (I had to do this to get the Genius source working). Just navigate to http://localhost:9222/.
Re: Is there a console we can use while developing addons?
To open DevTools in Chrome there is also shortcut Alt+Ctrl+Shift
Or right click something > 'Open DevTools in Chrome'
Then go to 'Source' tab and you can put breakpoints directly to lyricsSources: https://www.dropbox.com/s/yv60573my7heu ... 0.png?dl=0
You will need debug build though.
EDIT: You might get inspired by the viewtopic.php?p=486709#p486709
Or right click something > 'Open DevTools in Chrome'
Then go to 'Source' tab and you can put breakpoints directly to lyricsSources: https://www.dropbox.com/s/yv60573my7heu ... 0.png?dl=0
You will need debug build though.
EDIT: You might get inspired by the viewtopic.php?p=486709#p486709