♻️ refactor(editors): use fixed stderr logging

This commit is contained in:
csh
2026-07-11 18:27:51 +08:00
parent 49e7c7f424
commit 100cfc0d0e
4 changed files with 4 additions and 7 deletions
-1
View File
@@ -118,7 +118,6 @@ export function activate(context: vscode.ExtensionContext) {
const runArgs = [...serverArguments]
const debugArgs = serverArguments.map(arg => arg.startsWith('--log=') ? '--log=trace' : arg)
if (!debugArgs.some(arg => arg.startsWith('--log='))) debugArgs.push('--log=trace')
if (!debugArgs.includes('--log-stderr')) debugArgs.push('--log-stderr')
const serverOptions: ServerOptions = {
run: { command: serverExe, transport: TransportKind.stdio, args: runArgs },