Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 328 Bytes

FOR_DEBUG.md

File metadata and controls

13 lines (10 loc) · 328 Bytes

for debugging

Good option for debuggers.

from p2p_python.config import Debug
 
Debug.P_PRINT_EXCEPTION = False  # print full exception info
Debug.P_SEND_RECEIVE_DETAIL = False  # print send/receive msg info
Debug.F_RECODE_TRAFFIC = False  # recode traffic recode to file

You can switch debug option online.