question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debug process doesn't start when refreshing the page

See original GitHub issue

I’m trying to make the debug process work, but nothing happens when I refresh the page. Setting breakpoints and initializing Vdebug works as expected because I see the message at the bottom saying “Vdebug will wait for a connection in the background”. Then, with Xdebug helper Chrome plugin installed, and debug set to active, I refresh the page but vim does not do anything.

So, for the technical matter: I am using PHP version 5.6 because I need to. I checked with phpinfo() and the command php -m and confirmed Xdebug is enabled in both cases. Since I use NGINX, this is my /etc/php/5.6/apache2/conf.d/20-xdebug.ini:

  1 zend_extension="/usr/lib/php/20170718/xdebug.so"                                                                                                                                                                                           
  2 xdebug.remote_host = 127.0.0.1                                                                                                                                                                                                             
  3 xdebug.remote_enable = 1                                                                                                                                                                                                                   
  4 xdebug.remote_port = 9000                                                                                                                                                                                                                  
  5 xdebug.remote_handler = dbgp                                                                                                                                                                                                               
  6 xdebug.remote_mode = req 

Now, I am not sure what else to do or to show.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
BlackIkeEaglecommented, Apr 3, 2018

I quickly tested with 5.6 and a simple phpinfo script and have no issues with default settings

screenshot_20180403_155304

screenshot_20180403_155352

0reactions
xbotcommented, Apr 5, 2018

@BlackIkeEagle Just to get a little lazy. Now the issue is opened.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to start program. Refresh the process list before ...
1. Refresh the process list (Debug=>Attach to Process=>click the Refresh button) · 2. Right-click project=>Properties=>Debug page, make sure your ...
Read more >
Chrome debug does NOT reload page source - Stack Overflow
The problem is that the SOURCE used to step through the code does NOT refresh on every page load. Yes, I have disabled...
Read more >
Troubleshooting common PHP debugging issues | PhpStorm ...
When running PHP, it can happen that a startup warning or error is displayed. When this is the case, the debugger may fail...
Read more >
[GA4] Monitor events in DebugView - Analytics Help
To use the DebugView report, enable debug mode and then go to Configure ... Start using your website or app and monitor the...
Read more >
Changes to cshtml not taking effect in debug mode
With previous versions of Visual Stusio while running a web application in debug mode, I could edit my .cshtml file, save it and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found