SublimeTextXdebug icon indicating copy to clipboard operation
SublimeTextXdebug copied to clipboard

Add line highlighting for current execution line and breakpoints

Open githuba42r opened this issue 10 years ago • 5 comments

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.

githuba42r avatar Apr 24 '15 00:04 githuba42r

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:

  • OSX yosemite
  • ST3, build 3083
  • installed this via wbonds package manager
  • running over a vagrant machine, per instructions here
screen shot 2015-07-06 at 5 40 34 pm

cdaringe avatar Jul 07 '15 00:07 cdaringe

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!

cdaringe avatar Jul 07 '15 00:07 cdaringe

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

jonjonw avatar Jul 12 '15 23:07 jonjonw

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

fvfv avatar Oct 15 '15 15:10 fvfv

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" }

minaeakhalil avatar Jan 18 '16 21:01 minaeakhalil