PHPStorm 107.224, OSX 10.6.7.
I have a situation where I'd like to execute and debug a command line script, but I need to run it as a different user than PHPStorm is running. From the command line, I can simply run this:
sudo -u theuserinquestion php myphpscript.php
I've been through the edit configuration and I see lots of space for script options, but nothing that can change the command line to sudo. Is there a facility for changing the command line my php interpreter is called with?