Answer the question
In order to leave comments, you need to log in
How to set up remote debugging in xdebug/phpstorm for PHP command line scripts?
Good afternoon.
I can’t set it up in any way, and I don’t understand how xdebug works for a PHP application without a web interface, in conjunction with PHPStorm.
That is, the application is launched from the shell, you need to debug it remotely. I can not understand - what and where to configure.
help me please
Answer the question
In order to leave comments, you need to log in
Write in php.ini:
And run the script with this command:
But this will only work if the script is on the same machine where you are going to debug.
You can read how to set up PHPStorm here .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question