View Issue Details

IDProjectCategoryView StatusLast Update
0001064Xdebugpublic2014-11-11 19:47
Reporterxkeshav Assigned Toderick  
PriorityurgentSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
PlatformLinuxOSUBUNTUOS Version14.04
Summary0001064: var_dump response in console with bare HTML tags
Description

I have installed Xdebug successfully on my machine having Ubuntu 14.04 and XAMPP.

now working with one project and set var_dump inside code file, this files executed in ajax and when i see response of var_dump(), it show HTML code of Xdebug table rather than rendered error table (see the attached screenshot)

I click 'Open response in new tab' also gives bare HTML tags wrapped code

but if i click 'Open in New Tab' then it gives proper Xdebug colorful error table.

why this is happening? can we see same HTML table of Xdebug in console?

TagsNo tags attached.
Attached Files
Operating System
PHP Version5.5.5-5.5.9

Activities

derick

2014-11-11 19:47

administrator   ~0002892

There is no Xdebug issue here, as it behaves as it should. Xdebug listens to
the html_errors setting. If that is on, and an error is generated, Xdebug will
render an HTML table. Your AJAX request does not happen in an HTML context, and
hence you should not have html_errors set to 1 for that request.

Issue History

Date Modified Username Field Change
2014-07-15 07:17 xkeshav New Issue
2014-07-15 07:17 xkeshav File Added: Screenshot from 2014-07-15 12:35:24.png
2014-11-11 19:47 derick Note Added: 0002892
2014-11-11 19:47 derick Status new => resolved
2014-11-11 19:47 derick Resolution open => no change required
2014-11-11 19:47 derick Assigned To => derick
2016-07-31 12:35 derick Category Debug client (console) => debugclient (debugging tool)
2016-07-31 12:35 derick Category debugclient (debugging tool) => (No Category)