Using IIS for debug & other questions
Posted May 7th, 2008 by Joseph McLaughlin
I have .NET 2003 installed so I'm evaluating with VS.PHP v2.3 on W2K Pro w/ PHP 5.2.5
1. In an earlier post "How to get VS.Php to use local machine's IIS that has PHP and XDebug installed..." there are the following comments:
Set debug mode to external. This will make VS.Php not start Apache.
In the start url do something like: http://localhost/my project/index.php
Where does one set "debug mode to external" and set "the start url"?
2. Although I am able to successfully set a breakpoint on the default (start) page, the debugger does NOT honor breakpoints set on child pages. Is this normal?
3. Is syntax checking available is VS.PHP and if so, where?
Thanks,
Joseph


1. Right click on the
1. Right click on the project node->properties. Then go to the debug page.
2. This could happen if your application resets the cookies for the website. VS.Php needs to maintain a debug cookie for breakpoints to work between requests. Also, all breakpoints must be in pages inside the project directory.
3. Yes, it is available. VS.Php will put red wiggles below the syntax errors and list the errors in the error task window.
Breakpoint not working
Thanks for the response. I still can't get the debugger to break on a child page. All files are in a project. The files that I'm attempting to debug are in a sub folder of the project with it's own index.php and none of the use cookies. The index file loads an include file that contains:
if($_POST['add']) {
The breakpoint is set in groups.php at:
if($_POST['add_group']) {
I know that it's getting there via an 'echo' statement in the if clause.
Darn it! Now the Debug>Start & Start w/o debugging are disabled. I rebooted but that didn't help. Are there any configuration files that I can send for review?
Thanks,
Joseph
The debug could be disable
The debug could be disable if no project is open.
Can you confirm XDebug is
Can you confirm XDebug is loaded properly (via phpinfo) and it is loaded as a zend_extension_ts not as a regular extension?