Is there a way I can set java VM arguments at workspace level? That is, not having to have it in each launch configuration in the launch.json
. A specific argument I want to be used whenever a launch is triggered for the current workspace in vscode. I also don't want it to be global to all Java projects opened in vscode, just the current workspace.
I tried adding this in .vscode/settings.json
, but it doesn't seem to use it.
{
"java.jdt.ls.vmargs": "-javaagent:/Users/me/my-agent.jar"
}
Any suggestions? Ways to achieve this?