How to debug extension with VS Code?

We found a way to make the LSP debugger work with SU24+ and UI break points: