mac-cain13 / xdebug-helper-for-chrome

Easily activate PHP debugging, profiling and tracing with this Xdebug Chrome extension
https://chrome.google.com/webstore/detail/eadndfjplgieldjbigjakmdgkmoaaaoc
310 stars 97 forks source link

Being able to activate debugging on a XML page #53

Open gerstenjo opened 8 years ago

gerstenjo commented 8 years ago

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

mac-cain13 commented 8 years ago

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 commented 8 years ago

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.

gerstenjo commented 8 years ago

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.

kergekacsa commented 8 years ago

It doesn't work for me yet :(

determin1st commented 5 years ago

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.