Page 1 of 1

Debugging PHP on a Windows computer

Posted: Thu May 15, 2014 5:38 pm
by xarzu
Sorry if this has been asked already many times.

How do I debug a php program that is residing on a Linux server somewhere if I use a Windows computer?

Re: Debugging PHP on a Windows computer

Posted: Thu May 15, 2014 5:53 pm
by requinix
Assuming you're not talking about a production machine,

Take a look at XDebug. You install and configure it on the remote machine, then when you need to debug in your IDE (which needs to support XDebug) you do whatever it wants to initiate debugging and trace the execution as you want.