-
Notifications
You must be signed in to change notification settings - Fork 34
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
Sending STDOUT and STDERR output to external debugger console ... #19
Comments
This would be nice. But I don't believe the ruby-debug-ide protocol supports a way to send such output to the debugger client. I might be wrong though. |
Backstory: I'm weary of SketchUp's internal Ruby Console being broken every few releases. I'd like to send console output to something external and leave SketchUp's console closed. |
Have you ever tried Ruby's Logger utility ? It has a lot of built-in nifty housekeeping stuff. I was thinking of using it and perhaps subclassing it for use in embedded SketchUp. Although, I'd set up a mixin protocol where the various methods ( If endusers had issues, the logs could be sent to a server similar to how reports are sent to Windows Error Reporting or BugSplat. |
Yea, I've had a look at that in some projects. Useful when you want to log to a file. (So user can send you it if SU crashes etc, or keep useful info to help repro issues.) |
How to send STDOUT and STDERR output to external debugger console instead of SketchUp's internal Ruby Console ?
puts()
seems not to work.On Windows I tried
OutputDebugString
and it sends to MS DebugView, but I see nothing in VSCODE's console.Is there a "mixed" or "managed" mode setting somewhere for VSCODE ?
The text was updated successfully, but these errors were encountered: