delete comment from chat.py
add debug mode