Tagged: Netbeans

0

How to Debug PHP Script From the CLI with PHP-XDEBUG

TL;DR Set your IDE to listen for incoming connections On the CLI set the session key, export XDEBUG_CONFIG=”idekey=netbeans-xdebug” Set XDEBUG configuration (can be set as environment variables or in-line parameters) # in-line php -dxdebug.remote_enable=1...

1

Setup Xdebug for remote debug over SSH

If you have PHP application you need to debug, and there is a firewall between you and the hosting server, One can use SSH to tunnel the traffic from the remote site to the...