janet-lsp icon indicating copy to clipboard operation
janet-lsp copied to clipboard

Add debug console functionality to Janet LSP

Open CFiggers opened this issue 2 years ago • 1 comments

Learn from the excellent design of Textual's devtools: https://textual.textualize.io/guide/devtools/

Essentially, on startup have Janet LSP check for the presence of a debug console on a standard (or command-line argument parameterized?) port. If one is found, connect and route debug messages to it.

CFiggers avatar Jan 05 '24 22:01 CFiggers

Minimal implementation delivered with #15 . Some additional polish might be good—in particular, considering using alternate screen buffer with \e[?1049h and restoring on server exit.

CFiggers avatar Jan 09 '24 21:01 CFiggers