The assignment to console.debug
on console-scope-test.js:13
seems to be overriding the
assignment on console-scope-test2.js:9
, but the strict-equals assertions seem inconsistent.
Run:
NODE_DEBUG=scope1,scope2 node console-scope-test.js
Outputs:
LOAD scope1
LOAD scope2
SCOPE1 8060: Starting the main (scope1)...
SCOPE1 8060: Starting some fake work (scope2)...
SCOPE1 8060: Finished some fake work (scope2).
SCOPE1 8060: Finished in main (scope1).