René's URL Explorer Experiment


Title: Update README PHP setup with Xdebug · Issue #516 · vim-vdebug/vdebug · GitHub

Open Graph Title: Update README PHP setup with Xdebug · Issue #516 · vim-vdebug/vdebug

X Title: Update README PHP setup with Xdebug · Issue #516 · vim-vdebug/vdebug

Description: I went through the steps of installing xdebug and vdebug to debug my php setup and I couldn't, for the life of me get a debugger session working. I was getting the same error log over and over again: [60807] Log opened at 2022-10-20 12:1...

Open Graph Description: I went through the steps of installing xdebug and vdebug to debug my php setup and I couldn't, for the life of me get a debugger session working. I was getting the same error log over and over agai...

X Description: I went through the steps of installing xdebug and vdebug to debug my php setup and I couldn't, for the life of me get a debugger session working. I was getting the same error log over and over ...

Opengraph URL: https://github.com/vim-vdebug/vdebug/issues/516

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Update README PHP setup with Xdebug","articleBody":"I went through the steps of installing xdebug and vdebug to debug my php setup and I couldn't, for the life of me get a debugger session working. I was getting the same error log over and over again:\r\n\r\n```\r\n[60807] Log opened at 2022-10-20 12:14:47.026666\r\n[60807] [Step Debug] DEBUG: Found 'XDEBUG_CONFIG' ENV variable\r\n[60807] [Step Debug] INFO: Connecting to configured address/port: 127.0.0.1:9000.\r\n[60807] [Step Debug] INFO: Connected to debugging client: 127.0.0.1:9000 (through xdebug.client_host/xdebug.client_port). :-)\r\n[60807] [Step Debug] -\u003e \u003cinit xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" fileuri=\"{some_file_path}\" language=\"PHP\" xdebug:language_version=\"8.1.10\" protocol_version=\"1.0\" appid=\"60807\" idekey=\"xdebug\"\u003e\u003cengine version=\"3.1.5\"\u003e\u003c![CDATA[Xdebug]]\u003e\u003c/engine\u003e\u003cauthor\u003e\u003c![CDATA[Derick Rethans]]\u003e\u003c/author\u003e\u003curl\u003e\u003c![CDATA[https://xdebug.org]]\u003e\u003c/url\u003e\u003ccopyright\u003e\u003c![CDATA[Copyright (c) 2002-2022 by Derick Rethans]]\u003e\u003c/copyright\u003e\u003c/init\u003e\r\n\r\n[60807] [Step Debug] -\u003e \u003cresponse xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"https://xdebug.org/dbgp/xdebug\" status=\"stopping\" reason=\"ok\"\u003e\u003c/response\u003e\r\n\r\n[60807] [Step Debug] WARN: 2022-10-20 12:14:47.028073: There was a problem sending 179 bytes on socket 6: Broken pipe.\r\n[60807] Log closed at 2022-10-20 12:14:47.028225\r\n```\r\n\r\nThere were 2 reasons:\r\n1. The VdebugSetupPHP section includes a helper script to start a debugging session:\r\n\r\n```bash\r\n#!/bin/bash\r\nexport XDEBUG_CONFIG=\"idekey=xdebug\"\r\n/usr/bin/php \"$@\"\r\n```\r\n\r\nhowerver, the [xdebug docs](https://xdebug.org/docs/step_debug#activate-debugger-cmd) also state that `XDEBUG_SESSION=1` should be set, otherwise the debug session doesn't seem to start. So the php-xdebug script should be:\r\n\r\n```bash\r\n#!/bin/bash\r\nexport XDEBUG_SESSION=1\r\nexport XDEBUG_CONFIG=\"idekey=xdebug\" # found out that this is not really needed\r\n/usr/bin/php \"$@\"\r\n```\r\n\r\n2. The VdebugSetupPHP section says that we should set our host_port to 9000, but as stated [here](https://bugs.xdebug.org/view.php?id=2017)  (I honestly don't understand the why, yet) that is wrong, and should be on a port different than 9000 (like 9003, the default xdebug port) and in the `.vimrc` we'd need to add the following lines:\r\n\r\n```bash\r\nlet g:vdebug_options = {}\r\nlet g:vdebug_options[\"port\"] = 9003 # same as port defined for xdebug\r\n```\r\n\r\nnow, starting a debug session with `php-xdebug` works as expected :)","author":{"url":"https://github.com/shadydealer","@type":"Person","name":"shadydealer"},"datePublished":"2022-10-20T12:43:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/516/vdebug/issues/516"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2e7e6143-c75b-de15-2d81-f1198436c4df
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id820A:37EFA8:904F6:B9AD6:698EC69A
html-safe-nonce4b6cb9d49479fa3a83744c661e0eb5ce7f59ca17b44b9420abfce10629e764af
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjBBOjM3RUZBODo5MDRGNjpCOUFENjo2OThFQzY5QSIsInZpc2l0b3JfaWQiOiI3OTQyNTM5NDU3NDQ1NzQxMDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac075f98615bbfc38bb483070d1daaf51dc42c16a0fe1b6de117acf50395720b2e
hovercard-subject-tagissue:1416558693
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/vim-vdebug/vdebug/516/issue_layout
twitter:imagehttps://opengraph.githubassets.com/afdbcd47277c7dbec3f9a2d9d2acecaea1562cda742bd75ff2367c1d87ef3c0d/vim-vdebug/vdebug/issues/516
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/afdbcd47277c7dbec3f9a2d9d2acecaea1562cda742bd75ff2367c1d87ef3c0d/vim-vdebug/vdebug/issues/516
og:image:altI went through the steps of installing xdebug and vdebug to debug my php setup and I couldn't, for the life of me get a debugger session working. I was getting the same error log over and over agai...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameshadydealer
hostnamegithub.com
expected-hostnamegithub.com
Nonecb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba
turbo-cache-controlno-preview
go-importgithub.com/vim-vdebug/vdebug git https://github.com/vim-vdebug/vdebug.git
octolytics-dimension-user_id37241739
octolytics-dimension-user_loginvim-vdebug
octolytics-dimension-repository_id4597834
octolytics-dimension-repository_nwovim-vdebug/vdebug
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id4597834
octolytics-dimension-repository_network_root_nwovim-vdebug/vdebug
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee6b91a7e6e46287d26887e3fb7a4161657bab8f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/vim-vdebug/vdebug/issues/516#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvim-vdebug%2Fvdebug%2Fissues%2F516
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvim-vdebug%2Fvdebug%2Fissues%2F516
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=vim-vdebug%2Fvdebug
Reloadhttps://patch-diff.githubusercontent.com/vim-vdebug/vdebug/issues/516
Reloadhttps://patch-diff.githubusercontent.com/vim-vdebug/vdebug/issues/516
Reloadhttps://patch-diff.githubusercontent.com/vim-vdebug/vdebug/issues/516
vim-vdebug https://patch-diff.githubusercontent.com/vim-vdebug
vdebughttps://patch-diff.githubusercontent.com/vim-vdebug/vdebug
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fvim-vdebug%2Fvdebug
Fork 158 https://patch-diff.githubusercontent.com/login?return_to=%2Fvim-vdebug%2Fvdebug
Star 1.3k https://patch-diff.githubusercontent.com/login?return_to=%2Fvim-vdebug%2Fvdebug
Code https://patch-diff.githubusercontent.com/vim-vdebug/vdebug
Issues 48 https://patch-diff.githubusercontent.com/vim-vdebug/vdebug/issues
Pull requests 7 https://patch-diff.githubusercontent.com/vim-vdebug/vdebug/pulls
Actions https://patch-diff.githubusercontent.com/vim-vdebug/vdebug/actions
Projects 0 https://patch-diff.githubusercontent.com/vim-vdebug/vdebug/projects
Wiki https://patch-diff.githubusercontent.com/vim-vdebug/vdebug/wiki
Security 0 https://patch-diff.githubusercontent.com/vim-vdebug/vdebug/security
Insights https://patch-diff.githubusercontent.com/vim-vdebug/vdebug/pulse
Code https://patch-diff.githubusercontent.com/vim-vdebug/vdebug
Issues https://patch-diff.githubusercontent.com/vim-vdebug/vdebug/issues
Pull requests https://patch-diff.githubusercontent.com/vim-vdebug/vdebug/pulls
Actions https://patch-diff.githubusercontent.com/vim-vdebug/vdebug/actions
Projects https://patch-diff.githubusercontent.com/vim-vdebug/vdebug/projects
Wiki https://patch-diff.githubusercontent.com/vim-vdebug/vdebug/wiki
Security https://patch-diff.githubusercontent.com/vim-vdebug/vdebug/security
Insights https://patch-diff.githubusercontent.com/vim-vdebug/vdebug/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/vim-vdebug/vdebug/issues/516
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/vim-vdebug/vdebug/issues/516
Update README PHP setup with Xdebughttps://patch-diff.githubusercontent.com/vim-vdebug/vdebug/issues/516#top
https://github.com/shadydealer
https://github.com/shadydealer
shadydealerhttps://github.com/shadydealer
on Oct 20, 2022https://github.com/vim-vdebug/vdebug/issues/516#issue-1416558693
xdebug docshttps://xdebug.org/docs/step_debug#activate-debugger-cmd
herehttps://bugs.xdebug.org/view.php?id=2017
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.