79611495

Date: 2025-05-07 23:05:28
Score: 1
Natty:
Report link

Apparently when spawning a new LanguageClient, the serverOptions field includes a field called options of type ForkOptions. This allows the setting of stack size in forked processes.

The final configuration:

const node = require('vscode-languageclient/node'); 
... 
const serverOptions = {     
    module: serverModule,      
    transport: node.TransportKind.ipc,     
    options: {  
        execArgv: ['--stack-size=8192'],    
    } 
};
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Qiancheng Fu