xdebug-helper-for-chrome icon indicating copy to clipboard operation
xdebug-helper-for-chrome copied to clipboard

Being able to activate debugging on a XML page

Open gerstenjo opened this issue 9 years ago • 5 comments

Hi,

thank you for that great helper. As a php developer i also have to create xml-file, but for these xdebug helper is inactive and i can't start debugging. Could you please make it working for xml requests, too? currently i have to break the xml, so a html answer is shown where i can activate xdebug helper.

thanks

gerstenjo avatar Nov 19 '15 09:11 gerstenjo

Sounds like a good addition, I don't have time to implement this myself right now. But I'm open to a PR, so if anyone likes to implements is please feel free to do so!

mac-cain13 avatar Nov 19 '15 09:11 mac-cain13

Could you give this a try with the version 1.5 of the extension? Now some restrictions are gone I'm wondering if this makes it possible to enable it on XML pages.

mac-cain13 avatar Mar 28 '16 12:03 mac-cain13

Hi,

thank you for your reply. i reinstalled the plugin and restarted chrome but unfortunately i still can't activate debugging.

response headers are (among others)

HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8

I also tried sending (...text/xml...) but nothing changed.

gerstenjo avatar Mar 30 '16 16:03 gerstenjo

It doesn't work for me yet :(

kergekacsa avatar Apr 07 '16 09:04 kergekacsa

Well.. Do you run it as file:// protocol topic starter? It doesnt activate, ye. If it is your problem too, try workaround with putting file on http://localhost, for example.

But yes, it doesnt activate green (send cookies) with file:// proto... sad sad.

determin1st avatar Oct 26 '19 20:10 determin1st