Tôi đã đọc tài liệu này: http://xdebug.org/docs/remoteXDebug: làm thế nào để gỡ lỗi ứng dụng giao diện điều khiển từ xa?
Tôi có thể gỡ lỗi ứng dụng web của mình.
Nhưng trình gỡ lỗi không khởi chạy cho lệnh giao diện điều khiển.
tập tin .ini của tôi cho XDebug (nó hoạt động):
$ cat /etc/php5/fpm/conf.d/xdebug.ini
zend_extension=/usr/lib/php5/20090626/xdebug.so
xdebug.idekey="PHPSTORM"
xdebug.remote_connect_back=1
xdebug.remote_enable=1
tập tin .ini cho cli
là như nhau.
Ngoài ra, tôi đã cố gắng thêm export XDEBUG_CONFIG="idekey=PHPSTORM remote_enable=1 remote_connect_back=1"
trước khi gỡ lỗi, nhưng không hiệu quả.
Làm cách nào để kích hoạt?
Did bạn kiểm tra [bài đăng trên blog này] (http://blog.jetbrains.com/webide/2012/03/new-in-4-0-easier-debugging-of-remote-php-command-line-scripts/) cho chỉ dẫn? – CrazyCoder