atom-node-debugger
atom-node-debugger copied to clipboard
Working directory should be project root when project entrypoint is used.
It's not uncommon for a Node.js application to list a file under ./lib as the main file for the project, but the working directory should almost universally be the project root. At the very least, there should be an option to use the project root instead of the active file's directory. (To be honest, even in those cases I suspect that using the project root as the working directory would be okay.)
👍 That's currently a big problem for me, as I use external modules that are build on that assumption that CWD/PWD is the project root.