debug and server setting