[xdebug-general] Re: xdebug remote setup configuration

From: Derick Rethans <derick[@]xdebug.org>
Date: Sun, 1 Mar 2009 13:21:59 +0000 (GMT)

On Tue, 24 Feb 2009, Anthony Nelson wrote:

> Paul Shoemaker wrote:
> > 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.
> >
> > 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
>
> Nothing gets written to the file.

Make sure the webserver user has write permission to that location
though, and use an absolute path. Another thing you should check is
whether you have Xdebug loaded as Zend Extension.

regards,
Derick

-- 
Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: derickrethans
Received on Sun Mar 01 2009 - 14:21:54 GMT

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