D22633: allow global debug/non-debug setting via env var

Christoph Cullmann noreply at phabricator.kde.org
Mon Jul 22 06:19:49 BST 2019


cullmann created this revision.
Herald added a project: Kate.
Herald added a subscriber: kwrite-devel.
cullmann requested review of this revision.

REVISION SUMMARY
  get debug output (for the plugin and the called servers)
  ========================================================
  
  export LSPCLIENT_DEBUG=1
  
  At the moment the plugin is "very" verbose and just setting
  QT_LOGGING_RULES in the env isn't enough as you need to e.g.
  alter the clangd start command
  
  I propose the env var to let people handle this,
  we can use the m_debugMode for starting other LSP servers
  in verbose/non-verbose mode later, too

REPOSITORY
  R40 Kate

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D22633

AFFECTED FILES
  addons/lspclient/lspclientplugin.cpp
  addons/lspclient/lspclientplugin.h
  addons/lspclient/lspclientservermanager.cpp

To: cullmann
Cc: kwrite-devel, domson, michaelh, ngraham, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190722/6883c1e3/attachment.html>


More information about the KWrite-Devel mailing list