add debug and logging file