![wamp server setup wamp server setup](https://csharpcorner-mindcrackerinc.netdna-ssl.com/article/how-to-install-wamp-server-in-windows-10/Images/wampServer6.png)
![wamp server setup wamp server setup](https://mythemeshop.com/wp-content/uploads/2019/12/Installing-and-Configuring-WAMP-Server-on-Your-Computer.jpg)
Right click on "PHP Web Page", then "New" Now, go to the debug configuration screen.
Wamp server setup code#
Put a breakpoint in your code (by double-clicking in the left margin in your code. In this tutorial, I will be debugging a Drupal project, but you can really debug on web site developped with PHP. We will now configure Eclipse to connect to the debugger. You can find more information on remote debugging setup in the XDebug remote debugging manual. You will now need to setup the XDebug parameters to connect to your debugger. If you did so, pay special attention to the paths XDebug tells you, and copy the XDebug DLL in binphpphp5.3.0ext. It fails to tell you a correct PHP path if you installed WAMP in a directory that has spaces (for instance, it will fail if you installed wamp "in Program Files". Just click on the "Analyse my phpinfo() button", and XDebug will output the complete installation instructions: So just perform a huge "copy" in the clipboard of your php_info() page, and paste it into the XDebug find binary page as shown below: On a WAMP server, this screen can be accessed easily at: XDebug provides a " find binary page" that can analyze your php_info(), and propose the best XDebug version for you. In order to get the right version of XDebug, we will need to have a look at the php_info() screen. I will assume in this article you have a basic understand of Wamp and Eclipse PDT.
Wamp server setup install#
Obviously, the first step is to install WAMP, then to install Eclipse Helios (use the Eclipse for PHP release version). The setup we will use is: WAMP 2 with PHP 5.3, Eclipse Helios with PDT. In this article, we will step through all the steps required to enable debugging on your PHP environment.