Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add debug console functionality to Janet LSP #12

Open
CFiggers opened this issue Jan 5, 2024 · 1 comment · Fixed by #15
Open

Add debug console functionality to Janet LSP #12

CFiggers opened this issue Jan 5, 2024 · 1 comment · Fixed by #15

Comments

@CFiggers
Copy link
Owner

CFiggers commented Jan 5, 2024

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
Copy link
Owner Author

CFiggers commented Jan 9, 2024

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 CFiggers linked a pull request Jan 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant