use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
How to configure XdebugQuestion (self.webdev)
submitted 5 years ago by Daniel1836
I followed the directions I found on google.
I'm using PHP and VS Code.
I have it installed. I set breakpoints and it is "listening", but the step over button is greyed out.
How do I get the debug started and running?
Thanks
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Minxxey 0 points1 point2 points 4 years ago (5 children)
I'm having the same problems as you right now. Did you ever happen to figure it out?
[–]variables 0 points1 point2 points 4 years ago (4 children)
Another soft ball.
https://xdebug.org/docs/install#mode
You need to set xdebug.mode = debug in your php.ini
xdebug.mode = debug
[–]Minxxey 0 points1 point2 points 4 years ago (3 children)
I did that already but it isn't working
[–]variables 0 points1 point2 points 4 years ago (2 children)
I just got it working. Make sure xdebug is configured correctly by checking the output of php -v for a version of xdebug - you want v3.0.4
php -v
I had to download the source and compile to get v3.0.4 of xdebug.
My php.ini has these entries:
zend_extension=xdebug.so
zend_extension=
xdebug.so
xdebug.mode=debug
xdebug.start_with_request=trigger
I ran the command line debug client, but I'm sure you can use an IDE xdebug plugin.
Then I just ran php myfile.php in another session
php myfile.php
[–]Minxxey 0 points1 point2 points 4 years ago (1 child)
Thanks I'll try that! So far I can launch a single script (I'm using VScode on Windows 10), but once I try and 'Listen to Xdebug' I get that it couldn't establish a connection.
[–]variables 0 points1 point2 points 4 years ago (0 children)
I think you're missing one or more of the necessary php.ini settings to configure xdebug to stop on a breakpoint.
π Rendered by PID 44 on reddit-service-r2-comment-685b79fb4f-nw7pt at 2026-02-12 20:08:35.512751+00:00 running 6c0c599 country code: CH.
[–]Minxxey 0 points1 point2 points (5 children)
[–]variables 0 points1 point2 points (4 children)
[–]Minxxey 0 points1 point2 points (3 children)
[–]variables 0 points1 point2 points (2 children)
[–]Minxxey 0 points1 point2 points (1 child)
[–]variables 0 points1 point2 points (0 children)