-D properties must be passed as vmArgs in vscode launch. It will be digested by JVM before it starts loading the classes
{ .. "vmArgs": "-Dmyapp.property1=value1", ... }