Search code examples
phpdebuggingnetbeansremote-debugging

how do I debug my PHP code in Netbeans?


I am just beginning my journey into PHP world and I chose Netbeans editor. I am using the latest one i.e V7.0.1 and setup WAMP. However, I don't quiet understand how will I debug my PHP code? My breakpoints don't get hit in Netbeans.

Any help would be useful.

Thanks.


Solution

  • I would recommend using Xdebug.

    Read about Xdebug Remote Debugging, this integrates with NetBeans.