August 5, 2016

Debugging NodeJS with Atom Editor

After looking for a while for a node debugger on existing atom packages, just decided to create it myself atom-bugs. I have used other code editors but I always end using atom it is simple, quick and hackable. there is a great dedicated community of package creators.

Atom Bugs

This package is a integrated client which uses the V8 Debugging Protocol for NodeJS, and the Chrome Debugging Protocol for the browser. the current version does not support sourcemaps but I am looking forward to add that feature in a near future.

Installation

Install Atom bugs with the following command:

apm install atom-bugs

Optionally you may want to use atom-bugs-ui and atom-bugs-syntax so the complete command would be:

apm install atom-bugs atom-bugs-ui atom-bugs-syntax
Features
  • In Atom editor quick breakpoints. Simply open the file and click on the line number to toggle the breakpoint.
  • Open file reference on the line where it did break from the debug console by just clicking on the file path.
  • REPL: use the console to enter the text to evaluate or double-click a word in the editor
  • Schemes configurator by project. using the scheme editor you can specify wherever you want to listen to a port or run a target script.
  • And much more you just need to play with it.
TODO
  • Add action key bindings
  • Improve console
  • Adding watchers, backtraces, etc.
  • Add Chrome debugger sourcemap support
Feedback

This package is under development please use the following link: Atom Bugs Issues to report issues, ask questions or improvements.

Williams Medina
About Williams Medina
I am a Senior Front End Software Engineer, I've spent about 7 years working from different companies and gathering many experiences about software programming...