I am trying to get xdebug to work on my ubuntu 11 04 server. Everything seems setup right and I do see xdebug from phpinfo(). I installed with apt-get install php5-xdebug. The problem is that anytime I put my workstation(windows 7) ip in xdebug.ini as


; Remote settings

No webpage works. They just timeout for everyone connected to this server. If I put a coworkers ip in (he is on linux) web pages load without problem. I tought maybe my port 9000 was blocked by windows firewall but I opened the port and everything and still it hangs.

I hope I am clear. I do not see anything in xdebug.log or apaches error logs. I do restart apache after every changes to xdebug.ini. ALso as I said xdebug does load since it shows up in phpinfo().

I'll add any info you guys deeme necessary I am not sure what you need to help me. I found this question but no one helped him:(

edit: other things I have tried, disabling antivirus, starting a debug session from netbeans. Nothing works.

1 Answer 1


On the Ubuntu machine, try telnet 9000 (or nc 9000) to see if you come through.

You can also turn on the remote_log it should record all attempts of sending debugging information to your host:

  • Hi and thanks for taking the time to help! Telnet fails to connect and I did enable remote_log but its empty.
    – Iznogood
    Sep 27, 2011 at 13:08
  • Telnet failing to connect shows that your Windows system is not ready to receive the debugging information. Do you use an IDE? You need to enable the debugging port there.
    – akirk
    Sep 28, 2011 at 14:05
  • I use netbeans and zend studio 8. I did enable the debuging port (9000) there.
    – Iznogood
    Sep 28, 2011 at 15:03
  • yes but obviously you don't come through to that port. so it might be a firewall or malware protection after all.
    – akirk
    Sep 28, 2011 at 15:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.