Title: Vim hangs up connection without stopping on breaking point · Issue #509 · vim-vdebug/vdebug · GitHub
Open Graph Title: Vim hangs up connection without stopping on breaking point · Issue #509 · vim-vdebug/vdebug
X Title: Vim hangs up connection without stopping on breaking point · Issue #509 · vim-vdebug/vdebug
Description: Hi, I've recently encountered with an vdebug issue, when the debugger attempts to listen to requests, but when hitting an http request to the web server, vdebug seems to disconnect and ignore the break point at all. I'm using PHP 7.4 wit...
Open Graph Description: Hi, I've recently encountered with an vdebug issue, when the debugger attempts to listen to requests, but when hitting an http request to the web server, vdebug seems to disconnect and ignore the b...
X Description: Hi, I've recently encountered with an vdebug issue, when the debugger attempts to listen to requests, but when hitting an http request to the web server, vdebug seems to disconnect and ignore t...
Opengraph URL: https://github.com/vim-vdebug/vdebug/issues/509
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Vim hangs up connection without stopping on breaking point","articleBody":"Hi,\r\nI've recently encountered with an vdebug issue, when the debugger attempts to listen to requests, but when hitting an http request to the web server, vdebug seems to disconnect and ignore the break point at all. I'm using PHP 7.4 with Xdebug 3.0.4 and docker and SpaceVIm + Vim 8.2 above.\r\nMy configurations are as follows: \r\n\r\nvdebug:\r\n```\r\n let g:vdebug_options = {\r\n \\ 'server': '172.18.0.1',\r\n \\ 'port': 9001,\r\n \\ 'break_on_open': 0,\r\n \\ 'continuous_mode': 0,\r\n \\ 'debug_file_level': 8,\r\n \\ 'debug_file': '~/vdebug.log',\r\n \\ 'on_close': 'detach',\r\n \\ 'path_maps': {\r\n \\ '/var/www/html': 'some_correct_path'\r\n \\}\r\n \\}\r\n\r\n```\r\n\r\nxdebug.ini:\r\n```\r\nxdebug.mode=debug\r\nxdebug.start_with_request=yes\r\nxdebug.remote_autostart=on\r\nxdebug.remote_enable=on\r\nxdebug.remote_handler=\"dbgp\"\r\nxdebug.client_host=172.18.0.1\r\nxdebug.client_port=9001\r\n\r\n```\r\n\r\nI'm attaching screen shoot to illustrate the problem:\r\n\r\n\r\nAs you can see all info tabs are empty as well. \r\n\r\nFinally, that's what logs output:\r\n```\r\n- [Debug] {Wed 22 2021 11:17:19} keymapper: reload_keys\r\n- [Info] {Wed 22 2021 11:17:19} Found connection from ('172.18.0.8', 50722)\r\n- [Debug] {Wed 22 2021 11:17:19} Command: context_names -i 1\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"context_names\" transaction_id=\"1\"\u003e\u003ccontext name=\"Locals\" id=\"0\"\u003e\u003c/context\u003e\u003ccontext name=\"Superglobals\" id=\"1\"\u003e\u003c/context\u003e\u003ccontext name=\"User defined constants\" id=\"2\"\u003e\u003c/context\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Available context names: {0: 'Locals', 1: 'Superglobals', 2: 'User defined constants'}\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 2 -n language_supports_threads\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"2\" feature_name=\"language_supports_threads\" supported=\"1\"\u003e\u003c![CDATA[0]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Must Feature: language_supports_threads = 0\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 3 -n language_name\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"3\" feature_name=\"language_name\" supported=\"1\"\u003e\u003c![CDATA[PHP]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Must Feature: language_name = PHP\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 4 -n language_version\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"4\" feature_name=\"language_version\" supported=\"1\"\u003e\u003c![CDATA[7.4.12]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Must Feature: language_version = 7.4.12\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 5 -n encoding\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"5\" feature_name=\"encoding\" supported=\"1\"\u003e\u003c![CDATA[iso-8859-1]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Must Feature: encoding = iso-8859-1\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 6 -n protocol_version\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"6\" feature_name=\"protocol_version\" supported=\"1\"\u003e\u003c![CDATA[1.0]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Must Feature: protocol_version = 1.0\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 7 -n supports_async\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"7\" feature_name=\"supports_async\" supported=\"1\"\u003e\u003c![CDATA[0]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Must Feature: supports_async = 0\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 8 -n data_encoding\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"8\" feature_name=\"data_encoding\" supported=\"0\"\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Must Feature: data_encoding = * Feature not supported *\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 9 -n breakpoint_languages\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"9\" feature_name=\"breakpoint_languages\" supported=\"0\"\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Must Feature: breakpoint_languages = * Feature not supported *\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 10 -n breakpoint_types\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"10\" feature_name=\"breakpoint_types\" supported=\"1\"\u003e\u003c![CDATA[line conditional call return exception]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Must Feature: breakpoint_types = line conditional call return exception\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 11 -n resolved_breakpoints\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"11\" feature_name=\"resolved_breakpoints\" supported=\"1\"\u003e\u003c![CDATA[0]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Must Feature: resolved_breakpoints = 0\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 12 -n multiple_sessions\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"12\" feature_name=\"multiple_sessions\" supported=\"0\"\u003e\u003c![CDATA[0]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Must Feature: multiple_sessions = * Feature not supported *\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 13 -n max_children\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"13\" feature_name=\"max_children\" supported=\"1\"\u003e\u003c![CDATA[32]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Must Feature: max_children = 32\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 14 -n max_data\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"14\" feature_name=\"max_data\" supported=\"1\"\u003e\u003c![CDATA[1024]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Must Feature: max_data = 1024\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 15 -n max_depth\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"15\" feature_name=\"max_depth\" supported=\"1\"\u003e\u003c![CDATA[1]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Must Feature: max_depth = 1\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 16 -n extended_properties\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"16\" feature_name=\"extended_properties\" supported=\"1\"\u003e\u003c![CDATA[0]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Must Feature: extended_properties = 0\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 17 -n supported_encodings\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"17\" feature_name=\"supported_encodings\" supported=\"1\"\u003e\u003c![CDATA[iso-8859-1]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Maybe Feature: supported_encodings = iso-8859-1\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 18 -n supports_postmortem\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"18\" feature_name=\"supports_postmortem\" supported=\"1\"\u003e\u003c![CDATA[1]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Maybe Feature: supports_postmortem = 1\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 19 -n show_hidden\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"19\" feature_name=\"show_hidden\" supported=\"1\"\u003e\u003c![CDATA[0]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Maybe Feature: show_hidden = 0\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_get -i 20 -n notify_ok\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_get\" transaction_id=\"20\" feature_name=\"notify_ok\" supported=\"1\"\u003e\u003c![CDATA[0]]\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Maybe Feature: notify_ok = 0\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_set -i 21 -n multiple_sessions -v 0\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_set\" transaction_id=\"21\" feature=\"multiple_sessions\" success=\"1\"\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} Command: feature_set -i 22 -n extended_properties -v 1\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"feature_set\" transaction_id=\"22\" feature=\"extended_properties\" success=\"1\"\u003e\u003c/response\u003e\r\n- [Info] {Wed 22 2021 11:17:19} Updated line number of breakpoint 11000 to 99\r\n- [Info] {Wed 22 2021 11:17:19} Registering 1 breakpoints with the debugger\r\n- [Debug] {Wed 22 2021 11:17:19} Command: breakpoint_set -i 23 -t line -f \"file:///home/gal/Desktop/Projects/crm/app/Http/Controllers/Customer/TradingAccountDepositsController.php\" -n 99 -s enabled\r\n- [Debug] {Wed 22 2021 11:17:19} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"breakpoint_set\" transaction_id=\"23\" state=\"enabled\" id=\"3500008\"\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:19} starting with run (break_on_open = 0)\r\n- [Debug] {Wed 22 2021 11:17:19} Command: run -i 24\r\n- [Debug] {Wed 22 2021 11:17:21} Response: \u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\r\n\u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" command=\"run\" transaction_id=\"24\" status=\"stopping\" reason=\"ok\"\u003e\u003c/response\u003e\r\n- [Debug] {Wed 22 2021 11:17:21} refresh event\r\n- [Info] {Wed 22 2021 11:17:21} Dispatching refresh event\r\n- [Debug] {Wed 22 2021 11:17:21} ** RefreshEvent\r\n- [Debug] {Wed 22 2021 11:17:21} keymapper: reload_keys\r\n- [Info] {Wed 22 2021 11:17:21} Debugging session has ended\r\n- [Info] {Wed 22 2021 11:17:21} closing connection because status is stopped\r\n- [Debug] {Wed 22 2021 11:17:21} keymapper: reload_keys\r\n- [Info] {Wed 22 2021 11:17:21} Closing the connection\r\n- [Debug] {Wed 22 2021 11:17:21} Closing the socket\r\n- [Debug] {Wed 22 2021 11:17:21} Closing the socket\r\n- [Debug] {Wed 22 2021 11:17:21} Closing the socket\r\n\r\n```","author":{"url":"https://github.com/XyrusTheVirus","@type":"Person","name":"XyrusTheVirus"},"datePublished":"2021-09-22T08:22:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/509/vdebug/issues/509"}
| 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:d1fc7204-3331-cf2d-3d90-5acc6bc938d2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CCD6:C079:B0B2C4:E3FA35:698E8B08 |
| html-safe-nonce | 5adb321fdf0388640ce3e930c33527369e41756737106af2189b63696d8eb646 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0Q2OkMwNzk6QjBCMkM0OkUzRkEzNTo2OThFOEIwOCIsInZpc2l0b3JfaWQiOiI3MDY0MDE0ODc2MjI2NTIxODY0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 90dc7f3a99bcef82098678745a6de419f9351f5c06637b369a3773d150f3d3d4 |
| hovercard-subject-tag | issue:1003995368 |
| 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/509/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3906cd5b0dea305d8487917749a3cee1aa3256103e361c868974566ed7d57026/vim-vdebug/vdebug/issues/509 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3906cd5b0dea305d8487917749a3cee1aa3256103e361c868974566ed7d57026/vim-vdebug/vdebug/issues/509 |
| og:image:alt | Hi, I've recently encountered with an vdebug issue, when the debugger attempts to listen to requests, but when hitting an http request to the web server, vdebug seems to disconnect and ignore the b... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | XyrusTheVirus |
| 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 | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width