Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xdebug not stopping at breakpoints using REST Client #945

Open
admanesachin opened this issue Jun 15, 2023 · 2 comments
Open

Xdebug not stopping at breakpoints using REST Client #945

admanesachin opened this issue Jun 15, 2023 · 2 comments

Comments

@admanesachin
Copy link

admanesachin commented Jun 15, 2023

Hello,

I'm trying to get xdebug to work with a REST API client. I have the xdebug setup working for web pages using the tutorials provided by mark on his website. It is just the REST API setup which isn't working.. I have set the cookie as XDEBUG_SESSION=PHPSTORM while sending a POST request. The debugger only stops at the pub/index.php file even though no breakpoint is set and doesn't stop at any actual breakpoints. Can someone help me with the configuration?

@dmanners
Copy link
Contributor

dmanners commented Jul 3, 2023

I have a few bits of information with regards to getting xdebug to trigger not just on web page requests here: #916

@herjon
Copy link

herjon commented May 7, 2024

add ?XDEBUG_SESSION_START= at the end of the url, for example: ?XDEBUG_SESSION_START=PHPSTORM or ?anyparam&XDEBUG_SESSION_START=PHPSTORM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants