Rider Debug Configuration for npm script

I have an npm script in package.json which runs ok from the following configuration 

I can then successfully attach to it for debugging.


But when I try to run it in Debug fails instantly.

What configuration do I need to be able to debug using the Debug button?

Please sign in to leave a comment.