Ask questions 'NoneType' object has no attribute 'pydev_notify_kill' on Flask with multiprocess implementation

Environment data

  • PTVSD version: 4.2.10
  • OS and version: Ubuntu 18.04
  • Python version (& distribution if applicable, e.g. Anaconda): Flask 0.12.2 with Python 3.6.8
  • Using VS Code or Visual Studio: VS Code (1.36.0)

Actual behavior

in notify_thread_not_alive: was_notified = thread.additional_info.pydev_notify_kill 'NoneType' object has no attribute 'pydev_notify_kill'

Expected behavior

Should continue

Steps to reproduce:

  1. Using multiprocessing.managers class BaseManager

Tried these:

import ptvsd ptvsd.debug_this_thread() 2. ptvsd.enable_attach(address=('', 7777), redirect_output=True) ptvsd.wait_for_attach() Sorry if this is a dumb report


Answer questions int19h

Can you check if your debug configuration in launch.json is using all the necessary command line switches for Flask?

Github User Rank List