Debugging PHP on a Windows computer

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
xarzu
Forum Newbie
Posts: 4
Joined: Fri May 25, 2007 2:20 pm

Debugging PHP on a Windows computer

Post 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?
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Debugging PHP on a Windows computer

Post 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.
Post Reply