xdebug-helper-for-firefox
xdebug-helper-for-firefox copied to clipboard
Does not allow debugging when response header is content-type json
When you set the response header for example to 'Content-type', 'application/json; charset=utf-8', you can't activate the debug helper in browser tab.
confirmed, same problem
what was the full URL of page you were visiting, it should appear for any url containing http/https
It was an internal URL I used for developing. But the issue is the case for every page that outputs in json, like this: https://jsonplaceholder.typicode.com/posts
I have the same problem debugging an API. As a workaround, I navigated to the site's homepage/documentation page and enabled the debugging icon there. I then navigated to the API endpoint and my IDE started debugging properly.
Same problem, the icon does not change to green when i click on it
+1 to this issue, JSON content types will not work with this extension
Seems related to Firefox Json viewer 🤔 Here my workaround:
- Go to
about:config
- Search for
devtools.jsonview.enabled
and disable it - Install an other Json viewer (Json-lite do the job for me)
Workaround with disabling jsonview worked, however permanent solution would be great as debugging APIs are getting more common.
This issue is still occurring. I notice this has been arround for over 3.5 years, should we assume this is a WONTFIX?
I'd still love to see this fixed :)