Since i am sure i am not the only one who has been working with VS.Php and creating solutions with multiple projects inside, i decided to write a little blog article / tutorial on how to make debugging possible when using a multi-project solution.
The way my solutions are structured, each project is a specific module that can be used within the website i am building. One module could be called User_Accounts, another Website_Security, and so forth. Thus to include the functionality into a website, i only add the project to the solution.
However, this cause a problems when it comes to debugging.
The way VS.Php is presently structured as far as the debug engine goes, it will only allow debugging to work within the directory structure of the starting project. Sure you can do step by step mode and end up getting includes from other projects, which is OK, but as far as clicking a link to process to another file, if this file is located in a different project, VS.Php will output an error stating it cannot map the file.
To work around that, i did some trials and found that if i set all projects to deploy in local mode with the startup project directory (or any subdirectory of the startup project) as target, i am then allowed to fully debug the application.
I spent some hours figuring that out, so if some of you are saved the hassle by reading this blog article, good.
Have fun with VS.Php














