Diffusion Kate 91a4ab0eaa4b

allow global debug/non-debug setting via env var

Authored by cullmann on Jul 22 2019, 6:14 PM.

Description

allow global debug/non-debug setting via env var

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

Reviewers: mnauwelaerts, dhaumann

Reviewed By: mnauwelaerts

Subscribers: kwrite-devel

Tags: Kate

Differential Revision: https://phabricator.kde.org/D22633

Details

Committed
cullmannJul 22 2019, 6:14 PM
Reviewer
mnauwelaerts
Differential Revision
D22633: allow global debug/non-debug setting via env var
Parents
R40:caf756462c6a: only use build directory if compilation database found
Branches
Unknown
Tags
Unknown