Its possible to run grunt tasks within WebStorm through external tools. However, is it possible to avail debugging with external tools? By running tasks like grunt server
or grunt test
within WebStorm, it would make debugging a lot easier if it's possible with external tools like grunt.
You have to run grunt-cli as a Node application:
/Users/someuser/nvm/v0.10.5/bin/node
Gruntfile.js
directory, ie /Projects/someproject
grunt-cli
symlink created on your node bin directory, WebStorm will use the symlink target), ie: /Users/someuser/nvm/v0.10.5/lib/node_modules/grunt-cli/bin/grunt
(C:\Users\someuser\AppData\Roaming\npm\node_modules\grunt-cli\bin\grunt
on Windows 7)default
or test
Click on Run or Debug and you are done :)