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

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership