When you are in Atom, pressing Ctrl+Alt+I (or View → Developer → Toggle Developer Tools) will open the developer tools. If you know Chrome dev tools, it looks the same. Then just go to the sources, find your package and set breakpoints. From the menu, go to view mode → Developer → reload (or Alt + Ctrl + R ) to restart it, so the program can get to these breakpoints.
source share