Property env is not allowed'
Adding an 'env' property to a launch configuration shows 'Property env is not allowed'. However, this is referenced in the docs for how to set the jdk. Is env supported?
If not, how do you pass environment variables (not program arguments) to the launch command?
Hi, ${env:JAVA_HOME}/bin was suggested by a contributor.

Currently env is working fine for me
Do you have some special configuration? If not, you can use the absolute path instead, see: #59
Hi, I think I have the same problem : It's for initialize a environment variable for debug.
Example for launch.json with a SpringBoot application :
{
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Debug flash-message",
"request": "launch",
"mainClass": "app.Application",
"args": "",
"projectName": "flash-message",
"env": {
"SPRING_PROFILES_ACTIVE": "dev"
}
}
]
}

Hi @ggrebert I'm using this extension now.