A
A
Alex May2014-04-18 12:55:03
PHP
Alex May, 2014-04-18 12:55:03

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

2 answer(s)
R
remaora, 2014-04-18
@remaora

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 .

A
Alex May, 2014-04-18
@alexmay

It was all spelled out ...
I sin, now, on OpenSUSE. I'll try in ubuntu lts, ​​I'll write

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question