To debug a PHP script situated on your workspace:

  1. Set breakpoints at the relevant locations in your script by double-clicking the Marker Bar (located at the left of the editor area) at the relevant line. A blue ball appears to indicate that a breakpoint is set.
  2. From the main menu, select Run | Open Debug Dialog
    -Or- right-click the file in PHP Explorer view and select Debug As | Open Debug Dialog.
  3. To create a new configuration, double-click the ‘PHP Script’ category.
  4. Under the Debugger Location category, choose whether you want to debug locally using the internal debugger (PHP executable) or remotely, using your server’s debugger (PHP Web Server.
  5. Enter all other information and click Apply and Debug.
To debug a PHP Web page situated on a server:

  1. From the main menu, select Run | Open Debug Dialog -or- right-click the file in PHP Explorer view and select Debug As | Open Debug Dialog.
  2. To create a new configuration, double-click the ‘PHP Web Page’ category.
  3. Enter the required information and click Apply and Debug.

Post By Gishore J Kallarackal (2,121 Posts)

Gishore J Kallarackal is the founder of techgurulive. The purpose of this site is to share information about free resources that techies can use for reference. You can follow me on the social web, subscribe to the RSS Feed or sign up for the email newsletter for your daily dose of tech tips & tutorials. You can content me via @twitter or e-mail.

Website: → Techgurulive

Connect