gwomacks / php-debug

Atom Text Editor package for PHP debugging
MIT License
119 stars 31 forks source link

Breakpoint lines don't update #224

Open cgalvarez opened 7 years ago

cgalvarez commented 7 years ago

If you set a breakpoint, and then insert/delete lines above the breakpoint, the line number in the breakpoints subpanel does not get updated.

I'm using Atom 1.16.0 x64, on Ubuntu Xenial 16.04, with PHP 7.1.5 and xDebug 2.5.0.

cchamplin commented 7 years ago

So this is an interesting problem. In many cases you might not want local file changes to adjust breakpoint settings with the server as the files may no longer be the same. However, in situations where you are debugging locally it would make sense to update the breakpoint lines on file changes. I'll have to think about the best way to approach this.