NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
HOWTO: PHP debug via an HTTP emulator


Joined: 13 Jan 2010
Posts: 6
Location: US
Reply with quote
Here is the scenario:

Behind IIS I have my server side code (PHP).
In front, I have code which generates all the necessary HTML and HTTP to emulate a browser.

Here is what I would like to do:

Fire up my C# IDE (Visual Studio), run my code (in debug) which generates all the needed HTTP and HTML to do a GET (and POSTs) of the target PHP.
In PHPEd, put some a breakpoint and be able to stop at a breakpoint, step and watch. Let’s just play with a file called PHPinfo.php which contains "<?php phpinfo(); ?>".

Basically, I want to debug the entire loop.

This in a way is much like saying "I want to start from a browser and have the PHPEd DBG debugger pop up when it hits a breakpoint, then debug."

[ MSVS2010, PHPEd 5.9, PHP 3.5 vc9 nts, win7, IIS8 ]



Cheers,
MK
View user's profileFind all posts by MikeKSend private messageAIM Address
HOWTO: PHP debug via an HTTP emulator
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic