[xdebug-general] Re: Using XDebug for an AJAX style web server

From: Tim Sullivan <tsullivan[@]zynga.com>
Date: Mon, 1 Mar 2010 10:57:10 -0800

Derick -- I found the eclipse integration document and have resolved the browser output issue.



-----Original Message-----
From: Derick Rethans [mailto:derick[@]xdebug.org]
Sent: Monday, March 01, 2010 1:47 AM
To: Tim Sullivan
Cc: 'xdebug-general[@]lists.xdebug.org'
Subject: Re: [xdebug-general] Using XDebug for an AJAX style web server

Hello Tim,

On Sun, 28 Feb 2010, Tim Sullivan wrote:

> I am trying to use XDebug in as a remote debugger for a web server
> where the client is doing AJAX style calls. I have it basically
> functioning with Eclipse as the IDE. It looks like it will work
> great!!! Great job!!
> I am running into issues in the quantity of data written back to
> Eclipse. As an example -- The Debug Output and Browser Output windows
> are capturing all of the output of the web server. The Browser output
> window is attempting to present the actual browser output. The
> quantity of output for our application is substantial and there is no
> reason for the IDE to attempt to present the actual UI. Is there a
> way to disable sending of this data from the remote debugger?

Actually, IDEs have to explicitly request this information to be send by
Xdebug. They use the stdout feature for this
(http://xdebug.org/docs-dbgp.php#stdout-stderr). It is up to the IDEs
developers to provide a setting for this

> In general I would like to get control of the quantity of data
> returned by XDebug. In some cases the Eclipse IDE is 'far away' (in a
> networking perspective) from the web server being debugged.

There are a few other protocol options for this
(http://xdebug.org/docs-dbgp.php#options-and-configuration). They limit
the amount of object's properties, the max amount of string data, and
the maximum depth of nested variable structures. However, again, it's up
to the IDE to offer options for this.

with kind regards,

Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug
Received on Mon Mar 01 2010 - 18:58:41 GMT

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