I regularly use xdebug to debug applications, I created a laravel application that takes a csv download, inserts data into the database and identifiers in the job queue.
I wrote the artisan command to run through cron, then to do something with this data.
Xdebug works to access the site through a browser, but does not break into breakpoints when launched from cli.
I am running php5-fpm. My files /etc/php5/fpm/php.iniand /etc/php5/cli/php/ini
both contain the following settings:
zend_extension=/usr/lib/php5/20121212/xdebug.so
xdebug.remote_enable = 1
xdebug.idekey = 'dev_docker'
xdebug.remote_autostart = 1
xdebug.remote_connect_back = {{my host ip}}
xdebug.remote_port = 9000
xdebug.remote_handler=dbgp
Then I ran the artisan command
php artisan jobqueue::process --batch-size=10 --sleep=10
I know that the command is launched as β info ('text') is displayed in the terminal
Does anyone know what I am missing?