Как достичь того, что вы видите ниже? Я прочитал этот вопрос, но не смог. Моя ОС - Lubuntu 13.10, которая базируется в Ubuntu 13.10
You are technically ready to go, but
there's one extra step that I like to do to make command line debugging nice
and quick. I create a bash script called "php-xdebug", which automatically
starts the debugger engine. The script looks like this (unix only): >
#!/bin/bash
export XDEBUG_CONFIG="idekey=xdebug"
/usr/bin/php "$@"
<
Run "chmod +x" on the file and put it somewhere in your $PATH list, and you can
then use this instead of php when debugging. For instance, instead of "php
myscript.php", run "php-xdebug myscript.php" to start the debugger session.
В Ubuntu (включая Lubuntu) одно естественное место для размещения такого скрипта находится в ~/bin. Если эта папка уже не существует, сделайте
mkdir ~/bin
. При следующем входе в систему он будет автоматически включен в PATH, то есть нет необходимости изменять переменную PATH.