You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to setup run script inside Webstorm and the best I was able to achieve is with the following:
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
The text was updated successfully, but these errors were encountered:
dmiwell
changed the title
Better support of Webstorm use-case
Better support of Webstorm use case
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:
In factWwebstorm runs the following command:
Sandbox is recognized and works from
node
section config, butscripts
are ignored. So it seems it does not recognized that run wasnpm 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 purenode
andnpm
fromnvm
The text was updated successfully, but these errors were encountered: