Toggle Xdebug PHP extension on and off, from command line
MIT License
Toggle Xdebug PHP extension on and off, from command line. Also, quickly check status (enabled/disabled) and versions (PHP and Xdebug).
cd
into the dirchmod a+rx xdebug.sh
ln -s /path/to/xdebug.sh /usr/local/sbin/xdebug
xdebug help
Command | Description |
---|---|
xdebug on |
Turns on Xdebug extension and reloads PHP via Valet. Checks if its already enabled first. |
xdebug off |
Turns off Xdebug extension and reloads PHP via Valet. Checks if its already disabled first. |
xdebug status |
Checks whether Xdebug extension is enabled or not. |
xdebug version |
Shows PHP and Xdebug versions. |
xdebug help |
Shows this help. |
cd
into the dirgit pull
version
argumentconfig
argumentconfig path
argumentconfig get $2
argument to get a particular value