Open qRoC opened 1 year ago
I just hit this issue too.
NODE_PATH
is an environment variable that's meant to point to a node_modules
directory that a node process will be able to import from. This environment variable is not meant to point to a node
executable. This environment variable is set on my machine to a node_modules
directory, which means that this plugin tries to execute that directory, and fails to do so, leaving the following error message:
‼ ERROR [dap-js] Error trying to launch JS debugger: EACCES: permission denied
The quick workaround is to set node_path
on this plugin's config
as setup time, but I think a different default environment variable should be used
NODE_PATH
is reserved env variable (https://nodejs.org/api/modules.html)