How to Debug a Grunt Task in PyCharm?

I am writing a Grunt plugin: http://gruntjs.com/creating-plugins and want to debug it in PyCharm.

My workflow:
1) Write grunt plugin code.
2) Run the command "grunt" from the terminal to check whether it works
3) Repeat 1) and 2)

Is there a way that I can run the command "grunt" within PyCharm and thus have debugging capabilities?

Thank You!

Nikolay

Please sign in to leave a comment.