Webstorm adding unwanted 'node' parameter to yarn commandline that makes running/debugging impossible
We have a new dev that we're trying to onboard. New installation of Webstorm 2025.3.3, no settings imported or anything. When trying to create a run/debug configuration for node.js, we're selecting the path to yarn.cmd (windows box obviously), set the node parameter in the launch config to what we need (e.g. ‘dev’) set the proper working directory, and off we go.
But Webstorm then launched yarn.cm with these parameter: path-to-yarn/yarn.cmd node dev'^. What ne need is ‘path-to-yarn/yarn.cmd dev’. I have no clue where that redundant ‘node’ parameter comes from but of course it messed up everyting. running things manuallly with the correct commandline works just fine from the integrated terminal - so the question is.. why does Webstorm add that ‘node’ parameter and how to get rid of it?
请先登录再写评论。
Please could you clarify what run configuration you are trying to edit? Screenshots of the run configuration and the Settings | Languages & Frameworks | JavaScript Runtime page would be helpful.
Please refer to npm, pnpm, and Yarn | WebStorm Documentation for more information on running yarn scripts from the IDE.