<table><tr><td style="">cullmann created this revision.<br />Herald added a project: Kate.<br />Herald added a subscriber: kwrite-devel.<br />cullmann requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D22633">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><h2 class="remarkup-header">get debug output (for the plugin and the called servers)</h2>

<p>export LSPCLIENT_DEBUG=1</p>

<p>At the moment the plugin is "very" verbose and just setting<br />
QT_LOGGING_RULES in the env isn't enough as you need to e.g.<br />
alter the clangd start command</p>

<p>I propose the env var to let people handle this,<br />
we can use the m_debugMode for starting other LSP servers<br />
in verbose/non-verbose mode later, too</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R40 Kate</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22633">https://phabricator.kde.org/D22633</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>addons/lspclient/lspclientplugin.cpp<br />
addons/lspclient/lspclientplugin.h<br />
addons/lspclient/lspclientservermanager.cpp</div></div></div><br /><div><strong>To: </strong>cullmann<br /><strong>Cc: </strong>kwrite-devel, domson, michaelh, ngraham, demsking, cullmann, sars, dhaumann<br /></div>