actboy168 / lua-debug

Lua Debug Adapter for Visual Studio Code
MIT License
435 stars 94 forks source link

Skip to the first defined breakpoint instead of stopping at the first line #145

Closed adamnejm closed 3 years ago

adamnejm commented 3 years ago

Currently when you run the debugger it will stop at the fist code line. This would be OK if no breakpoint were defined, but usually you just want to skip to the first breakpoint immediately, resulting in having to press the debug key twice (continue debugger after starting).

Option "skip to the first breakpoint at start" or something along these lines would be the way.

actboy168 commented 3 years ago

I think what you need is "stopOnEntry": false.

adamnejm commented 3 years ago

Oh yes, sorry. I didn't realize this was an option, thank you!