Can I specify Http Request headers in a Run/Debug Configuration: PHP HTTP Request

Hi there,

I just discovered the Run/Debug configurations
Woa, WAY cool..

The only problem is, I need to somehow specify the request headers, because my app is authenticating via a token in the header,
Is there a way to specify request headers in the Run/Debug Configurations?

1 comment
Comment actions Permalink

Hi there,


But you can use REST Client ("Tools | Test RESTful Web Service") to assemble request with any headers you like. Just add xdebug trigger marker to that (either via cookie or GET/POST parameter .. or configure xdebug to attempt to debug every single request) and use Zero-Config approach (that phone handle icon) as described here:


Please sign in to leave a comment.