Add 'debug env' command to print environment.