why my debug information disappear when I change my string on a expressJS ejs project ?
I generated an expressJS project using the template webstorm offered.
It is perfect hand when I run the project I get a nice information popping in my run panel
untitled:server Listening on port 3000 +0ms
And when I change the variable 'namespace' next to debug to change the "untitled:server" to "myproject:API" this information doesn't get back anymore until I re change it for "untitled:server". I couldn't find why, Do you know how to change this variable without it disappearing from showing in the terminal ?
Please sign in to leave a comment.
The https://github.com/debug-js/debug module uses the
DEBUG
environment variable to enable debug logging.If you change the namespace, you need updating the
DEBUG
environment variable in your run configuration accordingly:thank you ! it works !