Ask questions 'NoneType' object has no attribute 'pydev_notify_kill' on Flask with multiprocess implementation
was_notified = thread.additional_info.pydev_notify_kill
'NoneType' object has no attribute 'pydev_notify_kill'
import ptvsd ptvsd.debug_this_thread()
ptvsd.enable_attach(address=('127.0.0.1', 7777), redirect_output=True) ptvsd.wait_for_attach()
Sorry if this is a dumb report
Answer questions fabioz
Inspecting the code I think this could be caused by a race condition. The pull request above should fix it (although as a note, I haven't been able to reproduce locally).