How to use NetBeans integration with WAMP 2.2.21?

I am trying to work with NetBeans IDE 7.1.2 and I have some setup issues. I cannot successfully start the debugger. I don't want to use Xdebug I have WAMP and it works fine with eclipse as I have some error from eclipse related to OOP and form. I decided to install the optional NetBeans debugger. I read several tutorials on the internet and didn't help me highlight.

1.I don't know how to define php.ini file in NetBeans. 2.I don't know what line to add to php.ini.

any help is appreciated. enter image description here

enter image description here

enter image description here

0


source to share


1 answer


When you have a fresh install of Netbeans and Wamp, it really isn't that hard to get debug working. Here's what you do:

  • Click the wamp icon and select PHP-> php.ini.
  • Scroll down to the bottom of the file and set / add the following options:

    xdebug.remote_enable = on
    xdebug.remote_handler = dbgp
    xdebug.remote_host = localhost
    xdebug.remote_port = 9000

  • Restart all services.

  • Start debugging.


If you are still unable to use the debugger, it may be because the firewall is blocking netbeans.

0


source







All Articles