Digital Marketing

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

Popular posts from this blog

MySQL Sandbox with the Sakila sample database