I am trying to figure out what is wrong with my sessions (using express-session), and I found that it uses the debug module. However, I can't seem to enable the debug messages. It says, debugging needs to be enabled through the DEBUG environment variable, but I can't seem to get it to run.
The tutorial in the README has this picture:

Under Windows I get "DEBUG is not a command for the command-line".
So I tried setting the environment variable explicitly using:
process.env.DEBUG = "*";
and still nothing.
What am I doing wrong?
DEBUG=* node appwill work at the command line: it'll first set an env variable, and the execute the command. Have you tried it?DEBUGis not a command. But now I tried it with MSYS and it works. I keep forgetting that system-dependent documentation of Node is usually tailored toward nix systems.setcommand, as inset DEBUG=* & node app