A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
New Module Debugging
-
I am trying to start creating new modules yet am having trouble debugging. Whats the best way ya’ll have found to debugg modules?
-
Depends on your module I guess. If the part you want to debug is in the interface, turning dev console on is the way:
electron js/electron.js dev
But if you want to debug
node_helper
side,console.log
everything. -
Thanks for the support!
-
You can also take a look at this. It explains also how to debug from your machine, instead of doing everything via SSH.
-
Most of the time when I develop, I run server only mode and test most of the work in a default browser.