Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better support of Webstorm use case #7

Open
dmiwell opened this issue Jun 30, 2022 · 0 comments
Open

Better support of Webstorm use case #7

dmiwell opened this issue Jun 30, 2022 · 0 comments

Comments

@dmiwell
Copy link

dmiwell commented Jun 30, 2022

Hi.

Thanks for the lib!

I've tried to setup run script inside Webstorm and the best I was able to achieve is with the following:

img

In factWwebstorm runs the following command:

~/.nvm/versions/node/v16.13.0/bin/node-safe ~/.nvm/versions/node/v16.13.0/lib/node_modules/npm/bin/npm-cli.js run start:dev --scripts-prepend-node-path=auto

Sandbox is recognized and works from node section config, but scripts are ignored. So it seems it does not recognized that run was npm run, since it does it in own way to be able to attach to process to debug.

Is there a way to fix this issue? Or it should be fixed in node-safe scripts.

Also just wondering, is it possible to configure debug scripts in VScode as well. It completely ignores node-safe setup on my end and just run pure node and npm from nvm

@dmiwell dmiwell changed the title Better support of Webstorm use-case Better support of Webstorm use case Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant