Skip to content

how to add xdebug? #391

Answered by Pen-y-Fan
mnelson4 asked this question in Q&A
Feb 3, 2023 · 5 comments · 1 reply
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: 5 comments 1 reply

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

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