[xdebug-general] Re: xdebug remote setup configuration

From: Paul Shoemaker <paul.shoemaker[@]helloecho.com>
Date: Tue, 24 Feb 2009 14:20:06 -0600

On Tue, Feb 24, 2009 at 11:22:39AM -0600, Anthony Nelson wrote:
> I am currently trying to setup a remote xdebug server for php debugging
> via netbeans. The server is a centos linux server with apache2, php
> 5.1.6 and xdebug 2.0.4 installed via pecl.
>
> The php.ini configuration I currently have is just the zend_extension
> and the remote_debug=on. Xdebug seems to be working as the normal
> functions like the var_dump replacement and the error stack messages are
> replaced by the xdebug equivalent, but I am unable to get breakpoints to
> work via netbeans or the eclipse editors.
>
> When I try and set a breakpoint, it opens the correct page to debug, but
> it doesn't wait at any of the breakpoints. It just loads the whole page
> and the editor sits and waits for a response.
>
> Any help or ideas with setting this up would be greatly appreciated.
>
> Anthony
>
>
>

I would recommend setting up a log in your php.ini and perhaps tailing
that. Below is the instruction to do that. Be sure to restart apache
afterwards. If you still have questions can you please tail the log and
paste the contents here?

Also, are you using the activestate proxy or is this a standard debug session?

xdebug.remote_log = location/to/log

-- 
paul shoemaker | software developer
paul.shoemaker[@]helloecho.com
615.290.4342 cell | 615.777.5119 fax
echo  |  Hello.  Hello.  |  helloecho.com
CONFIDENTIALITY NOTICE:
 
This e-mail transmission, and any documents or files attached to it, may contain confidential information. 
If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or 
use of any of the information contained in or attached to this message is STRICTLY PROHIBITED. If you 
have received this transmission in error, please immediately notify the sender by reply email, and 
destroy the original transmission and its attachments without reading or saving them. Thank you.
Received on Tue Feb 24 2009 - 21:30:16 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST