I have a shared submodule that requires me to run "npm install --force" before I can run webstorm and debug the application. I would really like to edit my debug configuration to have a before launch action that will run the npm command for me. Can this be done?
At counfiguration window ( where you set up debug configuration ) you can find 'Before launch' section
See more at https://www.jetbrains.com/phpstorm/help/run-debug-configuration-javascript-debug.html ( search on page by 'Before launch')
Before launch Specify which tasks must be performed before applying the run/debug configuration. The specified tasks are performed in the order they appear in the list.