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

Linux + Sublime + Xdebug = Not Stopping at Breakpoints #231

Closed
labboy0276 opened this issue Jul 26, 2017 · 5 comments
Closed

Linux + Sublime + Xdebug = Not Stopping at Breakpoints #231

labboy0276 opened this issue Jul 26, 2017 · 5 comments
Assignees
Labels
bug Something aint working right!
Milestone

Comments

@labboy0276
Copy link
Sponsor Contributor

labboy0276 commented Jul 26, 2017

Bug Report

Tell us about your setup

What is your lando version and operating system?

v3.0.0-alpha.17 && Ubuntu 16.04

Have you previously installed lando? If so, what version?

No, first time, I feel special

Tell us about your bug

I setup xdebug according to the docs and it isn't stopping at any breakpoint I put in the code via sublime 2. I am using a pantheon recipe with a D7 site.

Please detail the steps we can take to replicate this bug. Be as detailed as possible.
.lando config

name: eecs
recipe: pantheon
config:
  xdebug: true
  framework: drupal
  env: dev
  site: eecs
  id: fe289867-418e-4d62-bee3-7b13cfcc278c
services:
  cache:
    type: redis
    persist: true
tooling:
  redis-cli:
    service: cache

.sublime-project

{
  "folders":
  [
    {
      "path": "/home/john/lando/eecs/"
    }
  ],
 "settings":
 {
   "xdebug":
   {
     "path_mapping":
     {
       "/app": "/home/john/lando/eecs"
     },
     "super_globals": true,
     "close_on_stop": true,
     "max_children": 64,
     "max_depth": 6,
     "port": 9000,
     "url": "http://eecs.lndo.site/"
   }
 }
}

I am using Sublime Text 2 & tried both the ?XDEBUG_SESSION_START=sublime.xdebug && ?XDEBUG_SESSION_START=LANDO

@pirog pirog self-assigned this Jul 29, 2017
@pirog pirog added the bug Something aint working right! label Jul 29, 2017
@pirog pirog modified the milestones: 3.0.0-beta.1, 3.0.0-beta.2 Jul 29, 2017
pirog added a commit that referenced this issue Jul 29, 2017
@pirog pirog modified the milestones: 3.0.0-beta.1, 3.0.0-beta.2 Jul 29, 2017
@pirog pirog closed this as completed Jul 29, 2017
pirog added a commit that referenced this issue Jul 29, 2017
@labboy0276
Copy link
Sponsor Contributor Author

Hello,

I tried using xdebug with the same setup as the one in the original of this ticket on beta3 with no luck. Still not stopping at breakpoints.

@pirog pirog reopened this Aug 1, 2017
@pirog
Copy link
Sponsor Member

pirog commented Aug 1, 2017

@labboy0276 we need to do something more robust here both for XDEBUG remote host setting but also for REMOTE_IP in general

@pirog pirog modified the milestones: 3.0.0-beta.5, 3.0.0-beta.1 Aug 1, 2017
pirog added a commit that referenced this issue Aug 2, 2017
pirog added a commit that referenced this issue Aug 2, 2017
pirog added a commit that referenced this issue Aug 2, 2017
pirog added a commit that referenced this issue Aug 2, 2017
pirog added a commit that referenced this issue Aug 2, 2017
pirog added a commit that referenced this issue Aug 2, 2017
@pirog
Copy link
Sponsor Member

pirog commented Aug 2, 2017

@labboy0276 i think this is better now but we should check it out together before we close it out

@labboy0276
Copy link
Sponsor Contributor Author

ok i will pull down source and report back in a little while

@labboy0276
Copy link
Sponsor Contributor Author

Works with the last codez

@pirog pirog closed this as completed Aug 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something aint working right!
Projects
None yet
Development

No branches or pull requests

2 participants