Jump to content

Debug PHP code at run-time (step-over) with breakpoints


softsolutions

Recommended Posts

What is the best and easiest way to debug PHP code at run-time (step-over) with breakpoints. So that I can view the values on run-time and can debug easily. So, I want to know which php server and IDE works well with XDebug and easiest to configure with those. To be honest, I have tried 3-4 times in my life in last 7-8 years staring from win XP to Win 7 to setup xdebug with an IDE and a server and have failed, now again I need it in Win 8. I believe I can do it this time with your help.

I just want any IDE with any server to work with xdebug in Win 8, so that I can pause execution at a break-point and see values of the variables. I do not even want to change values at run-time, just need to see those.

I use PHPStorm, but on linux. It should be able to debug on windows but I've never done that.

 

You could of course use Virtualbox to create a simple linux box under windows and use that to do the debugging, saves you the headache of trying to make windows work...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.