By Lex Li
This article describes how to debug the code.
#. Make sure you set up a local development environment as revealed in Source Code. #. Install PHP Manager locally so all IIS Manager configuration is set.
Launch Visual Studio as administrator.
Open the solution and make your changes.
Compile the solution. .. note:: Post build events would register the new assemblies in GAC.
Close IIS Manager if you already opened it.
Open IIS Manager and do nothing yet.
Attach Visual Studio to IIS Manager process (inetmgr.exe).
Set break points if you like.
Back to IIS Manager and open PHP Manager pages to trigger the break points.
Don’t attempt to launch IIS Manager from Visual Studio directly as it only works on 32 bit Windows.