You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2020/04/13 21:19:54 UTC

[GitHub] [openwhisk-wskdebug] alexkli opened a new issue #43: pass through DEBUG, NODE_DEBUG environment variables for nodejs actions

alexkli opened a new issue #43: pass through DEBUG, NODE_DEBUG environment variables for nodejs actions
URL: https://github.com/apache/openwhisk-wskdebug/issues/43
 
 
   In nodejs certain environment variables are standard to configure debug logging:
   
   - `DEBUG` for the [debug npm module](https://www.npmjs.com/package/debug)
   - `NODE_DEBUG` for [built-in nodejs APIs](https://nodejs.org/api/util.html#util_util_debuglog_section)
   
   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
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [openwhisk-wskdebug] alexkli closed issue #43: [nodejs] pass through DEBUG, NODE_DEBUG environment variables

Posted by GitBox <gi...@apache.org>.
alexkli closed issue #43: [nodejs] pass through DEBUG, NODE_DEBUG environment variables
URL: https://github.com/apache/openwhisk-wskdebug/issues/43
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services