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?
Debugging PHP on a Windows computer
Moderator: General Moderators
Re: Debugging PHP on a Windows computer
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.
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.