Set java vmargs in vscode at workspace level
Use vmArgs option in the .vscode/launch.json file, create an entry for java launcher configuration as below:
{
"type": "java",
"name": "Launch Current File",
"request": "launch",
"mainClass": "${file}",
"vmArgs": "-Dspring.jmx.enabled=true"
}
Comments
Post a Comment