NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
How can I debug PHP web service?


Joined: 17 Mar 2010
Posts: 6
Reply with quote
Hello,
How can I debug local PHP web service, which is called from the remote client? I mean I have a web service written in PHP and a client written in C#. The client neither adds DBGSESSID url parameter nor has a cookie.
PS. I need not just to log to a file or see request/response headers/data. I need normal step-by-step debugging with breakpoints.

Thank you in advance.
View user's profileFind all posts by PashkaTLTSend private message
Veteran

Joined: 06 Jun 2007
Posts: 289
Location: Vancouver, Canada
Reply with quote
Use the DebugBreak function. Example:
Code:
DebugBreak('1@127.0.0.1');

If PhpED is running and Dbg Listener is running, it will break at that line whenever a local or remote client calls the script.

_________________
Smile
View user's profileFind all posts by annoSend private messageVisit poster's website


Joined: 17 Mar 2010
Posts: 6
Reply with quote
anno wrote:
Use the DebugBreak function. Example:
Code:
DebugBreak('1@127.0.0.1');

If PhpED is running and Dbg Listener is running, it will break at that line whenever a local or remote client calls the script.


Thank you, anno! You saved me!

Why is that function not documented? Where can I find documentation on it?

Are there any other ways to accomplish my task?
View user's profileFind all posts by PashkaTLTSend private message
How can I debug PHP web service?
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