atom-node-debugger icon indicating copy to clipboard operation
atom-node-debugger copied to clipboard

Working directory should be project root when project entrypoint is used.

Open JaredReisinger opened this issue 8 years ago • 1 comments

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.)

JaredReisinger avatar Jan 30 '17 09:01 JaredReisinger

👍 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.

mlenkeit avatar Feb 17 '17 10:02 mlenkeit