This could be a TypeScript specific bug, when I set a debugger in code e.g. console.log("Error: " + err);debugger; and attach the debugger, the debugger first pops up a success toast, followed by this error toast. I think a temporary solution would be for the debugger to ignore .ts files (because the debugger does hit the breakpoints in the generated JavaScript files correctly (even after the error popup).
I'll have to look into further details of this awesome plugin to make it work with TypeScript a little more seamlessly.
Cheers,
Sumit.
Atom Version: 1.10.0-dev-0708140
Electron Version: 0.37.8
System: Mac OS X 10.11.6
Thrown From: node-debugger package, v1.7.0
Stack Trace
Uncaught TypeError: Cannot read property 'getMarker' of undefined
At /Applications/Atom.app/Contents/Resources/app.asar/src/decoration-manager.js:194
TypeError: Cannot read property 'getMarker' of undefined
at DecorationManager.module.exports.DecorationManager.decorateMarker (/Applications/Atom.app/Contents/Resources/app.asar/src/decoration-manager.js:194:65)
at TextEditor.module.exports.TextEditor.decorateMarker (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1525:37)
at BreakpointManager.decorateBreakpoint (/Users/sumitkm/.atom/packages/node-debugger/lib/debugger.coffee:227:23)
at /Users/sumitkm/.atom/packages/node-debugger/lib/debugger.coffee:199:14
at Client._onResponse (_debugger.js:249:5)
at Protocol.Client.protocol.onResponse (_debugger.js:162:39)
at Protocol.execute (_debugger.js:120:14)
at Client.<anonymous> (_debugger.js:159:14)
at emitOne (events.js:90:13)
at Client.emit (events.js:182:7)
at readableAddChunk (_stream_readable.js:153:18)
at Client.Readable.push (_stream_readable.js:111:10)
at TCP.onread (net.js:531:20)
This could be a TypeScript specific bug, when I set a debugger in code e.g.
console.log("Error: " + err);debugger;
and attach the debugger, the debugger first pops up a success toast, followed by this error toast. I think a temporary solution would be for the debugger to ignore .ts files (because the debugger does hit the breakpoints in the generated JavaScript files correctly (even after the error popup).I'll have to look into further details of this awesome plugin to make it work with TypeScript a little more seamlessly.
Cheers, Sumit.
Atom Version: 1.10.0-dev-0708140 Electron Version: 0.37.8 System: Mac OS X 10.11.6 Thrown From: node-debugger package, v1.7.0
Stack Trace
Uncaught TypeError: Cannot read property 'getMarker' of undefined
Commands
Config
Installed Packages