Connects but nothing happens
See original GitHub issueHello,
I’m trying to get this package working so I could pretty much ditch my old IDE for pure Sublime Text.
I use this configuration for xdebug:
zend_extension=/usr/lib/php/modules/xdebug.so
xdebug.remote_enable=on
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
xdebug.remote_mode=req
xdebug.idekey=sublime.xdebug
And this is configuration for Sublime Text:
{
"port": 9000,
"close_on_stop": true,
"max_depth": 3,
"max_children": 32
}
And after adding a breakpoint using the command pallet (I can see the grey dot for the breakpoint) and starting Debugging with the same way, I hit the URL with XDEBUG_SESSION_START=1 at the end of the URL (I have other params in my URL).
I see the status bar says Xdebug: Connected and when checking port 9000 I can really see it’s indeed connected:
$ netstat -an | grep 9000
tcp 0 0 127.0.0.1:9000 127.0.0.1:52515 ESTABLISHED
tcp 0 0 127.0.0.1:52515 127.0.0.1:9000 ESTABLISHED
But than nothing else happens and the request gets stuck in the browser and never reaches the breakpoint.
Is there something I’m missing?
Thanks!
Issue Analytics
- State:
- Created 10 years ago
- Comments:33 (13 by maintainers)
Top Results From Across the Web
10 Troubleshooting Tips If Your Internet Is Connected But Not ...
If not, the router has no connection to the internet and your ISP is probably at fault. Start by simply unplugging it, waiting...
Read more >Connected to Wi-Fi, but No Internet Access in Windows? What ...
Seeing the annoying "connected but no internet" error on your Windows PC? Follow these steps when you have no internet access.
Read more >WiFi Connected But No Internet? (Reasons and Fixes)
If all of your devices on the network have a WiFi connection but they do not have access to the web, your router...
Read more >WiFi connected but no Internet? Fix it in 5 min! - LazyAdmin
If no one can connect to the internet then you will have to look for the problem in the router or access point....
Read more >PC is connected to the internet, but nothing will load
Try plugging in by ethernet cable to the router to compare, then plug the ethernet cable into the modem (if separate) to see...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Try changing things to port 9001? Was having same problem and that worked for me…
Check sublime terminal (Ctrl + ~) if it shows error like xdebug xml.etree.ElementTree.ParseError: not well-formed (invalid token) then it is issue of sublime xdebug client installed through sublime package manager.
Uninstall xdebug client installed through Package manager Preferences > Package control > remove package > xdebug client
Quit sublime
Install client manually through source code Get fixed source code of xdebug client from https://github.com/gepeixoto/SublimeTextXdebug.git