-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
Ignore requests to specific endpoints entirely #909
Comments
Hi!
Now for your request. If I understand, you would like to debug only certain "entrypoints" or better ignore some entrypoints? How you could use this is that you don't initiate a debug session from the browser (do not set the XDEBUG_SESSION cookie) but rather add a call Let me know if this is clear. And be sure not to commit and deploy to production :) Maybe you could also abuse the XDEBUG_SESSION_STOP GET parameter, but I have not tried such monstrosity... Best! |
Thanks, that's helpful info. It doesn't seem too convenient, though. I switched over from PHPStorm and it was easy to do this there, so I was looking for something similar. IMO it'd be a good feature to add, but I totally understand if there isn't a lot of demand for it. |
I see. Should not be that hard to implement. Will leave this open and see if I can get to it. |
Sounds good, thanks! |
This is working for me, thanks! |
I'd like to completely ignore any request that comes in to a specific file/URL. I've tried using
skipFiles
andignore
, but it seems like those will still handle the request, but they will skip the file when stepping through the codebase.PHP version:
8.0.28
Xdebug version:
3.2.0
VS Code extension version:
1.32.1
launch.json:
Xdebug php.ini config:
The text was updated successfully, but these errors were encountered: