Set $env and $debug based on environmental variables "PPI_ENV" and "PPI_DEBUG"