I am trying to run tomcat in debuging mode. In the startup I want to add also some system properties, but I could not achieve this. I am running :
./catalina.sh jpda run -Dtest.variable="value"
and when I try to access the value of the variable, I get always null:
System.out.println(null == System.getProperty(test.variable)); //prints always true
Does somebody know any solution for this problem? Thank you!