Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

XDebug not loaded in PHP #800

Closed
tyteen4a03 opened this issue Jan 22, 2018 · 10 comments
Closed

XDebug not loaded in PHP #800

tyteen4a03 opened this issue Jan 22, 2018 · 10 comments

Comments

@tyteen4a03
Copy link

tyteen4a03 commented Jan 22, 2018

I can't seem to get xdebug to work in the box. phpinfo() does not show the xdebug session being loaded.

I have tried running xon in vagrant ssh with no results.

I'm using box v5.0.1, Homestead v7.0.1, VirtualBox 5.2.6. MacOS 10.13.2.

Homestead.yaml:

---
ip: "192.168.10.10"
memory: 4096
cpus: 4
provider: virtualbox
mariadb: true

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: ~/code
      to: /home/vagrant/code

sites:
    - map: test.test
      to: /home/vagrant/code/test/public

databases:
    - test

# blackfire:
#     - id: foo
#       token: bar
#       client-id: foo
#       client-token: bar

# ports:
#     - send: 50000
#       to: 5000
#     - send: 7777
#       to: 777
#       protocol: udp

vagrant up after vagrant destroy: https://gist.github.com/tyteen4a03/7f37ddcabb2ae64cd3a0dd2430954ae0

@browner12
Copy link
Contributor

Joe will be releasing a new box (his goal was by the end of the month) to address Xdebug compatibility issues. I would suggest waiting for that.

@browner12
Copy link
Contributor

it is mostly dependent on a Xdebug shipping v2.6

@svpernova09
Copy link
Contributor

xDebug won't currently work for PHP 7.2, but is included and working on all the other included PHP versions.

@ihorvorotnov
Copy link

Xdebug 2.6 is already out. In case you missed it :)

@svpernova09
Copy link
Contributor

We're waiting on the PHP repository we use to build Xdebug 2.6

@paulcanning
Copy link

Any update on when Homestead will be updated to include XDebug 2.6?

@svpernova09
Copy link
Contributor

Any update on when Homestead will be updated to include XDebug 2.6?

Homestead has included Xdebug 2.6 since shortly after 2.6 hit the repo.

@paulcanning
Copy link

Yea, I figured this out just after posting, but accidentally, by running 'xon'.

Is there any official documentation about this?

@svpernova09
Copy link
Contributor

Is there any official documentation about this?

Nothing official. We ship Xdebug on for the FPM sapis but off by default for all CLI sapis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants