Skip to content

Make it easier to start XML language server with suspend #257

@xorye

Description

@xorye

Currently, in order to run vscode-xml with the language server starting with set suspend=y, we must uncomment and comment source code here:

params.push('-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1054,quiet=y');
// suspend=y is the default. Use this form if you need to debug the server startup code:
//params.push('-agentlib:jdwp=transport=dt_socket,server=y,address=1054');

which isn't very user friendly.

I suggest creating a new launch config that sets an environment variable to determine suspend=y or suspend=n.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions