Chassis / Xdebug

A Chassis extension to install and configure Xdebug on your server
0 stars 8 forks source link

Add ini settings for PHP CLI package as well #37

Closed roborourke closed 6 years ago

roborourke commented 6 years ago

We're currently missing support for xdebug on CLI calls so debugging WP CLI commands is a pain.

The extension only adds the ini template for PHP-FPM, if we add it for CLI too it should work with the addition of exporting these env vars:

export PHP_IDE_CONFIG="serverName=<%= @hosts %>"
export XDEBUG_CONFIG="idekey=<%= @ide %>"

Props to @nprasath002

BronsonQuick commented 6 years ago

Fixed via: https://github.com/Chassis/Xdebug/pull/38 Thanks folks! 💖