I have simple JS file that I want to debug using Node, just doing console.log('something')
File type = Node.js.
I have node v.10.15.3 in my path.
Whan I debug, I get this in the console :
internal/modules/cjs/loader.js:584
throw err;
^
Error: Cannot find module '_debugger'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.<anonymous> (C:\Program Files (x86)\ActiveState Komodo IDE 11\lib\support\dbgp\nodejslib\lib\v8dbg.js:4:17)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)