Add Debug mode in startup script