=> Exited with code: 8

I can run successfully from the command line; however, when attempting to run from Webstorm debugge, getting

 => Exited with code: 8

The annoying part is, at this point Webstorm clears its console and start from scratch, so I can’t even find a way to access the old console to find out what the problem was.

How do I debug this? I suspect this has something to do with imagemagick that it can’t find on my path, even though it runs fine from the command line (I had another thread on that yesterday).