How can I debug PHP in IIS?

I am starting to move some WordPress sites hosted on IIS7 using PHP 5.3 and FastCGI. I quickly find that although the WordPress core seems to be working fine, there are a number of plugins that have problems running in IIS, and I would like to be able to debug, fix and submit patches.

The only solution I found was to run WordPress on Apache for Windows for debugging, but the problems seem to be related to the way IIS and FastCGI work with PHP, not Windows. I looked at both Expression Web 3 and Aptana Studio 1.5, but could not find a way to do this with any tool.

Are there any ways to debug WordPress (or PHP in general) running under FastCGI on IIS7? What tools are needed and specific steps will be evaluated.

+5
source share
3 answers

XDebug is a very good tool for debugging PHP.

If you use an IDE such as Netbeans , XDebug allows you to run your PHP code on the local server in a step-by-step mode, with breakpoints and variable hours. Very powerful and extremely easy to use.

+3
source

I suggest doing phpinfo () and pasting the conclusion here that XDebug is a very good debugger with Windows binaries on its site. Now, any editor you use must support xdebug in order to have this phased thing.

FirePHP, Firebug Firefox. - print_r(); xdebug ...

, dbg, . post IIS, VS.php.

, .

+1

PHP Windows , , , . , , , Apache / , $_SERVER [].

, , FastCGI, , , dev CGI, .

0

All Articles