It looks like the file C:\Users\rainabba\AppData\Roaming\npm\grunt is not a JS file but a bash shell script. Look for grunt.cmd in the same folder if you need Windows-compatible version.
And event if you find grunt.cmd - starting it as node grunt.cmd
is not a proper way. Most likely the grunt.cmd
will start the node so you need to somehow pass the --debug argument to the node, called by the grunt.cmd or just run node exactly as grunt.cmd runs it.