Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Trying to get xdebug to talk to netbeans (and vice versa).

xdebug is in a virtualbox setup with vagrant (and some basic puppet to setup a basic LAMP). According to the php.ini from the VM everything is setup as I indented.

xdebug.default_enable=1
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=33.33.33.1
xdebug.remote_port=9000
xdebug.remote_autostart=0

Unfortunately netbeans debugger just doesn't seem to be able to talk with xdebug.

Ideas?

share|improve this question

1 Answer 1

  1. check wheather xdb is installed on vm using phpinfo()
  2. Xdebug.remote_host should be vm ip address

Once everything is fine, You can use "Xdebug helper" chrome extention or "easy xdebug" firefox extention to open page in debug mode

share|improve this answer
    
What's xdb? Is it this: sourceforge.net/projects/xdb ? –  iDev247 Sep 7 '12 at 18:53
1  
Xdebug is php debugger, xdebug website –  pragnesh Sep 10 '12 at 7:00
    
Ah. Awesome thanks! –  iDev247 Sep 10 '12 at 7:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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