martomo / SublimeTextXdebug

Xdebug debugger client for Sublime Text
MIT License
564 stars 89 forks source link

Add line highlighting for current execution line and breakpoints #141

Open githuba42r opened 9 years ago

githuba42r commented 9 years ago

I am new to sublime text, so this maybe straight forward for the veterans, but is there a way to update the theme to highlight the current execution line and the line with configured breakpoints.

Thanks in advance.

cdaringe commented 9 years ago

I think that this is supposed to happen based on seeing some demos, but my current execution line does not show up either, nor does the viewport scroll with execution.

i run:

screen shot 2015-07-06 at 5 40 34 pm
cdaringe commented 9 years ago

as you can see, my vagrant apache is sending debug goodness back to sublime, but the UI doesn't appear to be adjusting accordingly. tips would be great!

jonjonw commented 9 years ago

I have the same issue. I also don't see breakpoints indicated visually.

fvfv commented 8 years ago

https://github.com/martomo/SublimeTextXdebug/issues/115

reading this post, I found the solution to this issue.

In my case I am debugging a command line script, , so I Map the server like this: Local mapped drive "r:/" mapped to "\RemoteServer/scripts"

when I changed my path_mapping to : "path_mapping": { "/scripts": "r:" },

then the current line and little arrow started to show as I stepped (ctrl_shift_f7) thru the code.

https://github.com/martomo/SublimeTextXdebug/issues/115

minaeakhalil commented 8 years ago

I'm posting this in here because I ran into the same issue as @cdaringe with having Xdebug not showing up visually correct in a Vagrant environment. The issue was having Symbolic Links in the path_mapping. I had it this way: "path_mapping": { "/var/www/html" : "/path/on/host/machine" }

Given that "/var/www/html" is a Symbolic Link to /vagrant, then the path_mapping should look like: "path_mapping" : { "/vagrant": "/path/on/host/machine" }