[英]is there a way to use the PyScripter python interpreter in debug mode?
[英]Use vscode with debug mode with multiprocessing in python
当我使用多处理以调试模式运行 vscode 时,出现错误:
RuntimeError: already started
如何解决这个问题?
解决方案基于: https://github.com/microsoft/ptvsd/issues/1443
import multiprocessing
multiprocessing.set_start_method('spawn', True)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.