Open
Description
It's fairly common for issues to come up that are fairly simple to diagnose through our logs, but that are not otherwise discoverable. Some examples of this are errors in finding the corresponding build system for a project (eg. invalid compile_commands.json
file) and missing (or incorrect) settings for a file.
One (non-darwin) solution would be to output all our logs to stderr as well, but we can't do that on macOS with our logging implementation today (which calls directly into OSLog). It's also likely much more verbose by default than a client may expect.
Another solution could be to instead:
window/logMessage
the location of the detailed logs (whether console for macOS or the files otherwise)- Use
window/logMessage
for any errors we think would be generally useful for debugging in and of themselves (possibly non-spammy messages as well)
Metadata
Metadata
Assignees
Labels
No labels