Fix tracebacks when the debug adapter dies very quickly
This commit is contained in:
parent
866e6fe9b1
commit
37fefafe35
4 changed files with 28 additions and 14 deletions
|
|
@ -23,8 +23,10 @@ import string
|
|||
import functools
|
||||
|
||||
|
||||
_log_handler = logging.FileHandler( os.path.expanduser( '~/.vimspector.log' ),
|
||||
mode = 'w' )
|
||||
LOG_FILE = os.path.expanduser( os.path.join( '~', '.vimspector.log') )
|
||||
|
||||
_log_handler = logging.FileHandler( LOG_FILE, mode = 'w' )
|
||||
|
||||
_log_handler.setFormatter(
|
||||
logging.Formatter( '%(asctime)s - %(levelname)s - %(message)s' ) )
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue