[kate] [Bug 499710] New: Documentation on how to debug Kate LSP Plugin is wrong

David Helkowski bugzilla_noreply at kde.org
Sun Feb 9 04:07:52 GMT 2025


https://bugs.kde.org/show_bug.cgi?id=499710

            Bug ID: 499710
           Summary: Documentation on how to debug Kate LSP Plugin is wrong
    Classification: Applications
           Product: kate
           Version: unspecified
          Platform: macOS (DMG)
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-null at kde.org
          Reporter: kde at codechild.com
  Target Milestone: ---

SUMMARY
Debugging information about the Kate LSP Client is inaccurate and/or not
useful.
See
https://docs.kde.org/stable5/en/kate/kate/kate-application-plugin-lspclient.html
The end of the document says to use "QT_LOGGING_RULES=katelspclientplugin=true"
env to debug.
That doesn't seem to do anything and/or seems to be useless.

I looked at the source code for the kate lsp plugin.
Here:
https://github.com/KDE/kate/blob/master/addons/lspclient/lspclientplugin.cpp

Specifically line 54:
https://github.com/KDE/kate/blob/master/addons/lspclient/lspclientplugin.cpp#L54C58-L54C73
Shows the proper debug env var is "LSPCLIENT_DEBUG=1".
This should be mentioned in the debug information in the docs and the other
thing should be removed.


STEPS TO REPRODUCE
1. Try to debug lsp plugin somehow.
2. Add documented env var.

OBSERVED RESULT
Nothing useful occurs. No debugging info on CLI.

EXPECTED RESULT
Debugging information appears.

SOFTWARE/OS VERSIONS
macOS: Sequoia
Kate: DMG

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list