We have the requirement to usually start AEM in non-debug mode and only temporarily run it in debug-mode.
Currently, the start-file reads bin/start-env and disallows to set things like DEBUG_PORT using a systemd unit.
It would be great, if the start-env file checks if the environment variables are defined first and only sets them, if not.
Are you okay with that? I could provide you with a PR.