Is it possible to pass parameters to php itself, not just the script in a Run/Debug Configuration?
For example, I'd love to be able to profile a script run:
/usr/bin/php -d xdebug.profiler_enable=On /path/to/my/script.php
I thought that I could set that up using the Script parameters text box, but that only gave me the following:
/usr/bin/php /path/to/my/script.php -d xdebug.profiler_enable=On
which sends the profiling parameters to my script itself, not to php. Is there an existing way to do this, or should I enter a feature request on youtrack?
Thanks!
Please sign in to leave a comment.
Hi Daniel,
Currently it is not possible. I think this is the right ticket to watch: http://youtrack.jetbrains.net/issue/WI-5763?projectKey=WI
On another hand -- you may try to do this via "Settings | External Tools" functionality (although I have not tried this myself).
Thanks, Andriy; that ticket does seem to touch upon the issue I'm interested in.
Daniel,
Fixed in 3.0 - http://youtrack.jetbrains.net/issue/WI-6671
Thank you for feedback!