3

I have following configurations:

On remote machine:

zend_extension=/usr/lib64/php/modules/xdebug.so  
xdebug.profiler_enable=0  
xdebug.profiler_enable_trigger=1  
xdebug.profiler_output_dir=/tmp/xdebug  
xdebug.remote_connect_back=1  
xdebug.remote_port=9000  

On Local Machine:

  • I have zend studio installed with PHP Debugger set to XDebug .
  • Accept remote session set to Any.
  • I used remote connection(sftp) to work on the code.
  • telnet localhost 9000 is working

I have installed easy XDebug firefox plugin.

Now when I try to run a remote script it is not giving any debug info.
I am using a get parameter something like this: XDEBUG_SESSION_START=test11

Please let me know if I am missing anything or tips on how I can debug what I am missing.

Pascal MARTIN
  • 395,085
  • 80
  • 655
  • 663
shashuec
  • 684
  • 8
  • 20

3 Answers3

4

Make sure you also have the configuration parameter:

xdebug.remote_enable=On

See: http://www.xdebug.org/docs/remote

Christopher Manning
  • 4,527
  • 2
  • 27
  • 36
0

You may want to check step by step process for configuring XDebug with Zend Studio or Eclipse with screenshots on this page, http://vitalflux.com/configure-xdebug-debugger-for-zend-studio/

Ajitesh
  • 956
  • 10
  • 14
0

Don't bother use Xdebug with Zend Studio. XDebug does not receive any testing from the Zend Studio team. You might want to use Eclipse indigo with PDT which supports both the Zend debugger and XDebug. If you wonder why Zend can come to such a conclusion you might want to read:

http://forums.zend.com/viewtopic.php?f=59&t=24113&p=108183#p108183