Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
xorye opened this issue May 12, 2020 · 0 comments · Fixed by #269
Closed

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

xorye opened this issue May 12, 2020 · 0 comments · Fixed by #269
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@xorye
Copy link

xorye commented May 12, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants