Title: nvim freezes on xdebug connection, then `Error starting Vdebug:
Open Graph Title: nvim freezes on xdebug connection, then `Error starting Vdebug:
X Title: nvim freezes on xdebug connection, then `Error starting Vdebug:
Description: I'm an Xdebug n00b, so excuse me if this is something dumb and I just don't know what I'm doing. I believe my configs are setup correctly. I'm using nvim, but have Local by Flywheel for setting up my development environment. I could only...
Open Graph Description: I'm an Xdebug n00b, so excuse me if this is something dumb and I just don't know what I'm doing. I believe my configs are setup correctly. I'm using nvim, but have Local by Flywheel for setting up ...
X Description: I'm an Xdebug n00b, so excuse me if this is something dumb and I just don't know what I'm doing. I believe my configs are setup correctly. I'm using nvim, but have Local by Flywheel...
Opengraph URL: https://github.com/vim-vdebug/vdebug/issues/500
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"nvim freezes on xdebug connection, then `Error starting Vdebug: \u003cclass 'EOFError'\u003e` in the statusline","articleBody":"I'm an Xdebug n00b, so excuse me if this is something dumb and I just don't know what I'm doing.\r\nI believe my configs are setup correctly. I'm using nvim, but have _Local by Flywheel_ for setting up my development environment. I could only find one other person on the Internet who's doing the same thing:\r\nhttps://webdevstudios.com/2019/04/16/debugging-wordpress-with-local-by-flywheel-neovim-and-xdebug/\r\nBut I believe their tutorial is outdated.\r\n\r\nBasically, I mark a breakpoint, start Vdebug. Then:\r\n**/tmp/xdebug.log**\r\n```\r\nStarted\r\nListening on port 9000\r\n```\r\n\r\n...nothing happens, until I go to localhost:9000; then:\r\n\r\n```\r\nFound client\r\nFinishing socket server\r\nGot connection, starting\r\ncreate session\r\nkeymapper: reload_keys\r\nstart session\r\n```\r\nAt this point, nvim is locked up. I can't move the cursor up or down, can't run any vim commands.\r\n`localhost:9000` is still spinning at this point and hasn't loaded anything. When I stop the page, nvim frees up again.\r\nHowever, it spits out `Error starting Vdebug: \u003cclass 'EOFError'\u003e` in the statusline.\r\nThe Vdebug buffers have never opened at any point along the way.\r\n\r\n**~/.vimrc**\r\n```\r\n\" Vdebug\r\nlet g:vdebug_options = {\r\n\\ \"port\" : \"9000\",\r\n\\ \"server\" : \"127.0.0.1\",\r\n\\ \"timeout\" : 20,\r\n\\ \"on_close\" : \"detach\",\r\n\\ \"break_on_open\" : 0,\r\n\\ \"ide_key\" : \"vdebug\",\r\n\\ \"debug_window_level\" : 0,\r\n\\ \"debug_file_level\" : 2,\r\n\\ \"path_maps\" : { \"/app/public/\": \"/home/dan/Local Sites/surgicorps/app/public/\" },\r\n\\ \"debug_file\" : \"/tmp/xdebug.log\",\r\n\\ \"watch_window_style\" : \"compact\",\r\n\\ \"layout\" : \"horizontal\",\r\n\\ \"marker_default\" : \"⬦\",\r\n\\ \"marker_closed_tree\" : \"▸\",\r\n\\ \"marker_open_tree\" : \"▾\"\r\n\\}\r\n```\r\n\r\n**php.ini**\r\n```\r\n[xdebug]\r\n{{#if os.windows}}\r\nzend_extension = php_xdebug.dll\r\n{{else}}\r\nzend_extension = {{extensionsDir}}/xdebug.so\r\n{{/if}}\r\n\r\nxdebug.remote_enable=1\r\nxdebug.remote_connect_back=On\r\nxdebug.remote_handler=dbgp\r\nxdebug.remote_port=\"9000\"\r\nxdebug.remote_host=\"127.0.0.1\"\r\nxdebug.idekey=\"vdebug\"\r\nxdebug.profiler_enable=1\r\nxdebug.remote_autostart=1\r\nxdebug.show_error_trace=On\r\n```\r\n\r\n**nvim**\r\n```\r\nNVIM v0.4.4\r\nBuild type: Release\r\nLuaJIT 2.1.0-beta3\r\nCompilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-aKIhK1/neovim-0.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=1 -DDISABLE_LOG -Wdate-time -D_FORTIFY_SOURCE=1 -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/build/neovim-aKIhK1/neovim-0.4.4/build/config -I/build/neovim-aKIhK1/neovim-0.4.4/src -I/usr/include -I/usr/include/lua5.1 -I/build/neovim-aKIhK1/neovim-0.4.4/build/src/nvim/auto -I/build/neovim-aKIhK1/neovim-0.4.4/build/include\r\nCompiled by team+vim@tracker.debian.org\r\n\r\nFeatures: +acl +iconv +tui\r\nSee \":help feature-compile\"\r\n\r\n system vimrc file: \"$VIM/sysinit.vim\"\r\n fall-back for $VIM: \"/usr/share/nvim\"\r\n```\r\n\r\n**nvim :checkhealth**\r\n```\r\nhealth#nvim#check\r\n========================================================================\r\n## Configuration\r\n - OK: no issues found\r\n\r\n## Performance\r\n - OK: Build type: Release\r\n\r\n## Remote Plugins\r\n - OK: Up to date\r\n\r\n## terminal\r\n - INFO: key_backspace (kbs) terminfo entry: key_backspace=\\177\r\n - INFO: key_dc (kdch1) terminfo entry: key_dc=\\E[3~\r\n - INFO: $COLORTERM='truecolor'\r\n\r\n## tmux\r\n - OK: escape-time: 0ms\r\n - INFO: $TERM: tmux-256color\r\n\r\nhealth#provider#check\r\n========================================================================\r\n## Clipboard (optional)\r\n - OK: Clipboard tool found: xclip\r\n\r\n## Python 2 provider (optional)\r\n - INFO: `g:python_host_prog` is not set. Searching for python2 in the environment.\r\n - INFO: Multiple python2 executables found. Set `g:python_host_prog` to avoid surprises.\r\n - INFO: Executable: /usr/bin/python2\r\n - INFO: Other python executable: /bin/python2\r\n - INFO: Python version: 2.7.18\r\n - INFO: pynvim version: 0.4.2\r\n - OK: Latest pynvim is installed.\r\n\r\n## Python 3 provider (optional)\r\n - INFO: `g:python3_host_prog` is not set. Searching for python3 in the environment.\r\n - INFO: Multiple python3 executables found. Set `g:python3_host_prog` to avoid surprises.\r\n - INFO: Executable: /usr/bin/python3\r\n - INFO: Other python executable: /bin/python3\r\n - INFO: Python version: 3.8.5\r\n - INFO: pynvim version: 0.4.2\r\n - OK: Latest pynvim is installed.\r\n```\r\n\r\n**php_info() | PHP -v 7.4.3**\r\n\r\n","author":{"url":"https://github.com/l00sed","@type":"Person","name":"l00sed"},"datePublished":"2021-02-03T19:13:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/500/vdebug/issues/500"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:959af36e-f8e9-8e2c-411f-a7283d218b01 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF82:5CD99:4BE73F:625DC6:698E8ABE |
| html-safe-nonce | 3422cdde77a6cca37c23b09446453264c1cdf36dae599637ddd4d6fcae730554 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjgyOjVDRDk5OjRCRTczRjo2MjVEQzY6Njk4RThBQkUiLCJ2aXNpdG9yX2lkIjoiODM2NTAyOTcyNjUzMjU2OTc5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 55f688ccdf84da175f0890f94dc36b2d49a0cbd7753559c254a9e0bd16a55e6e |
| hovercard-subject-tag | issue:800619528 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/vim-vdebug/vdebug/500/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c1eb6816189e6c40ebca0fac694eaf31b35b09d790c25917db5fda3c2a7958aa/vim-vdebug/vdebug/issues/500 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c1eb6816189e6c40ebca0fac694eaf31b35b09d790c25917db5fda3c2a7958aa/vim-vdebug/vdebug/issues/500 |
| og:image:alt | I'm an Xdebug n00b, so excuse me if this is something dumb and I just don't know what I'm doing. I believe my configs are setup correctly. I'm using nvim, but have Local by Flywheel for setting up ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | l00sed |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| go-import | github.com/vim-vdebug/vdebug git https://github.com/vim-vdebug/vdebug.git |
| octolytics-dimension-user_id | 37241739 |
| octolytics-dimension-user_login | vim-vdebug |
| octolytics-dimension-repository_id | 4597834 |
| octolytics-dimension-repository_nwo | vim-vdebug/vdebug |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4597834 |
| octolytics-dimension-repository_network_root_nwo | vim-vdebug/vdebug |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6b91a7e6e46287d26887e3fb7a4161657bab8f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width