DevTools provide a great debugging environment, with visual breakpoints, watchers, file navigation, and more. Visual Studio Code is another great option. In order to learn more and understand which files you should be debugging, you can run npm edit to open a package in your favorite text editor.
Full article