|
Re: running xdebug to webserver in a same machine [message #510227 is a reply to message #510212] |
Tue, 26 January 2010 18:55 |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotremovemail.com
If you are not getting anything in the log, then that implies xdebug is
not loaded or being invoked. With the URL you have posted if xdebug was
present then you should get at least the init entry in there as it tries
to contact the IDE.
So I think there is some issue with the setup of your webserver. I can't
spot any other problem with your setup. You may also want to check the
faq at www.xdebug.org as xdebug cannot work with some other extensions
such as the zend optimizer.
Dave Kelsey
On 26/01/10 17:41, Ethereal1m wrote:
> Dear experts,
> Is it possible to run xdebug and step through a script that runs on a
> webserver on a same machine where eclipse resides?
> I do this by setting:
>
> xdebug.remote_host=127.0.0.1
>
> However, I always get the debug process abruptly ended without getting
> step through. And also my debug window on Eclipse doesn't show "remote
> launch" as the documentation suggests.
> Furthermore, Eclipse is submitting the following url in order to launch
> the debug session:
>
> http://localhost/train/temp.html?XDEBUG_SESSION_START=ECLIPS E_DBGP&KEY=12645272826563
>
>
>
> And funny thing, log file is not written even though I set it up. The
> following is the php.ini config:
>
> xdebug.remote_enable=1
> xdebug.auto_trace=0
> xdebug.remote_host=127.0.0.1
> xdebug.remote_port=9000
> xdebug.remote_handler="dbgp"
> zend_extension_ts = "C:\PHP\php_xdebug-2.0.5-5.2.dll"
> xdebug.remote_log = "C:\PHP\log\remote.log"
>
>
> On the other hand, I can debug php script fine using xdebug. Is there
> anything that I miss?
>
> Regards,
> ethereal1m
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04400 seconds