When running an elastic beanstalk java application (not tomcat), how can I enable remote debugging?
AWS documentation shows how it could be achieved for the app, by specifying the command that starts the java process.
But if I want to deploy the SAME app separately (for instance a dev and a prod deployment), and only want to enable remote debugging for dev, how can this be achieved?

