Using Xdebug from the command line

#!/bin/bash

if [ -z "$1" ]; then
    echo "Pass the script to be executed as a parameter"
    exit 1
fi

export XDEBUG_CONFIG="idekey=netbeans-xdebug"

/usr/local/php/bin/php -q $1

XdebugCommandline (last edited 2008-11-13 09:41:01 by DavidKeen)