Debug PHP scripts from your browser with phpDesigner 7 (external debugging)

Requirement

XAMPP/WAMP (or any localhost running on PHP) configured with Xdebug.

How to

Instruction for using any browser to initiate a debug session:

  • Open your PHP file in phpDesigner 7
  • Set the breakpoints/watches you want
  • Open your browser and type the URL for the script you want to debug and add the query ?XDEBUG_SESSION_START=phpD to the end of the URL.

Example:

http://localhost/test.php?XDEBUG_SESSION_START=phpD

So, whenever your PHP script is called you should see the debugger in phpDesigner 7 working. Debug your PHP script as you would normally. Output is fed to the running browser page.