My hybrid application is based on AngularJS and uses a php REST api.
I would like to debug the php api directly from my Angular app instead to use REST console or Postman. It would save a lot of time especially for POST and PUT requests.
In order to do so I would need to add a parameter to each request like so:
http://localhost:8000/api/contacts?XDEBUG_SESSION_START=PHPSTORM
Can I config $http to do so?