Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

php+xdebug connection closes unexpectedly #2421

Closed
tbfisher opened this issue Jan 12, 2018 · 7 comments
Closed

php+xdebug connection closes unexpectedly #2421

tbfisher opened this issue Jan 12, 2018 · 7 comments

Comments

@tbfisher
Copy link

Expected behavior

debug session stays open

Actual behavior

debug session opens as expected, after 30-150 seconds session disconnects and process completes

Information

  • Full output of the diagnostics from "Diagnose & Feedback" in the menu 436160D8-2EA4-44B9-8363-A9D82B22F2DE

Steps to reproduce the behavior

  1. docker for mac 17.12.0 stable/edge, downgrading to 17.09 fixes
  2. https://hub.docker.com/_/php/ with xdebug
  3. configure xdebug using remote_host=docker.for.mac.localhost
  4. initiate debugging session, stop at breakpoint
  5. wait 30-150 seconds for session to close and php process to complete
@smk
Copy link

smk commented Jan 29, 2018

Fixed in mac49.

@tbfisher
Copy link
Author

tbfisher commented Jan 29, 2018

I'm still seeing the issue after 5 minutes of inactivity, but interaction with the debugger seems to reset that. Much more usable now, thanks.

@rhift
Copy link

rhift commented Feb 26, 2018

@smk - I still encounter the same behavior in Version 17.12.0-ce-mac49 (21995).

@rhift
Copy link

rhift commented Mar 2, 2018

fwiw this solves it by setting an arbitrary timeout:

#2197 (comment)
#2197 (comment)

@docker-robott
Copy link
Collaborator

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale

@jrgilman
Copy link

fwiw this solves it by setting an arbitrary timeout:

#2197 (comment)
#2197 (comment)

Thanks a ton, been searching for hours and this solved this problem for me.

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Jun 27, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

6 participants