-
Notifications
You must be signed in to change notification settings - Fork 22
Create dedicated server entry point to prevent crashes #464
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
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
fix(lsp):
codeflash.lsp.server_entrymodule.pyglsserver directly, bypassing the main CLI's argument parser entirely.stderr, allowing the VS Code client to capture and display them in the output channel without corrupting thestdoutcommunication stream.
These change basically ensures the LSP server starts reliably and that all its logs are correctly forwarded to the client for a better debugging experience.
PR Type
Bug fix, Enhancement
Description
Add show_message_log to LSP server
Create dedicated server_entry script
Configure stderr logging for VS Code
Silence console output and start server
Changes diagram
Changes walkthrough 📝
server.py
Implement show_message_log in servercodeflash/lsp/server.py
server_entry.py
Add server_entry script and logging setupcodeflash/lsp/server_entry.py