C9 debugging sometimes doesn't work with NodeJS


#1

I get the error Cannot read property ‘getDocument’ of undefined in the console logs.

here’s the full stack trace:

Uncaught TypeError: Cannot read property ‘getDocument’ of undefined
at Object.exports.trimTrailingSpace (workspace-default.js:38924)
at stripws (workspace-default.js:39202)
at module.exports. (workspace-default.js:39196)
at module.exports.EventEmitter.emit (workspace-default.js:218)
at save (workspace-default.js:15181)
at workspace-default.js:15162
at Array.forEach ()
at Plugin.saveAll (workspace-default.js:15161)
at runNow (workspace-default.js:26869)
at Object.exec (workspace-default.js:26721)
exports.trimTrailingSpace @ workspace-default.js:38924
stripws @ workspace-default.js:39202
(anonymous) @ workspace-default.js:39196
EventEmitter.emit @ workspace-default.js:218
save @ workspace-default.js:15181
(anonymous) @ workspace-default.js:15162
saveAll @ workspace-default.js:15161
runNow @ workspace-default.js:26869
exec @ workspace-default.js:26721
(anonymous) @ workspace-default.js:4846
EventEmitter._emit.EventEmitter._dispatchEvent @ workspace-default.js:3496
exec @ workspace-default.js:40728
value.onclick @ workspace-default.js:35140
dispatchEvent @ workspace-default.js:32074
$ext.onmouseup @ workspace-default.js:33380