Skip to content

how to add xdebug? #391

Answered by Pen-y-Fan
mnelson4 asked this question in Q&A
Feb 3, 2023 · 6 comments · 3 replies
Discussion options

You must be logged in to vote

I wrote this blog How to Set up VS Code to use PHP with Xdebug 3 on Windows, which should help.

I have seen problems with automatically enabling xDebug in Laragon. If you have problems see the fix:

If you use Nginx there is a conflict with port 9003, the workaround is to use the old post 9000. See:

After it's been enabled once and the port doesn't conflict it works well and can be toggled on and off as required 🎉

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mnelson4
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Pen-y-Fan
Comment options

Comment options

You must be logged in to vote
2 replies
@alxndr-w
Comment options

alxndr-w Feb 6, 2025
Collaborator Sponsor

@slolo2000
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants