We use the debug module inside of ignition.
You enable it by using a DEBUG environment variable, e.g.
# This will enable debugging for everything
DEBUG=* node current/index.js
And you can make it more specific like
# This will enable debugging for the `knex:query` debugger
DEBUG=knex:query node current/index.js
You can also comma separate the different debuggers to enable - you’ll find more information in the README of the package linked above!