In nodejs certain environment variables are standard to configure debug logging:
DEBUG for the debug npm module
WSK_NODE_DEBUG in place of the standard NODE_DEBUG for built-in nodejs APIs - the separate name is necessary to avoid having it affect wskdebug itself
While these can be manually set using wskdebug --docker-args "-e DEBUG=x" already, this is cumbersome. It should happen automatically in case the action is nodejs, so that this command will set the DEBUG var inside the action container:
DEBUG=mymodule wskdebug myaction