[xdebug-general] Re: debug cycle never ends

From: Derick Rethans <derick[@]xdebug.org>
Date: Wed, 23 Apr 2008 10:12:15 +0200 (CEST)

On Tue, 22 Apr 2008, Yuval Hager wrote:

> On Tuesday 22 April 2008, Derick Rethans wrote:
> > On Tue, 22 Apr 2008, Yuval Hager wrote:
> > > > By appending to your URL "?XDEBUG_SESSION_START=start" a cookie should
> > > > be set. THis instructs Xdebug to keep creating debug sessions if you
> > > > continue to other pages.
> > >
> > > I find it easier to have in my php.ini:
> > > xdebug.remote_autostart="1"
> > >
> > > To the best of my knowledge, it doesn't interfere with normal operaion
> > > unless I have a debug client listening..
> >
> > Correct, however eclipse doesn't really work that way it seems :/
>
> I'm not really using eclipse, but now I am curious.. why does the IDE care how
> the debugger is activated? IMHO, it should listen on the port and react
> whenever it receives something... no?

Eclipse doesn't really do that, you need to launch your application. I
find that annoying, Komodo handles this so much better and asks to start
a debug session as soon as one is initiated by PHP/Xdebug. There is
another issue where it *stops* the debug session as soon as you do some
GUI action, making site-activated debugging much harder to do.

regards,
Derick

-- 
Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Wed Apr 23 2008 - 10:12:15 BST

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