Use env var for debug