Skip to content

notification like "Failed launch debugger for child process xxxx". #712

@liheyi360

Description

@liheyi360

I encounter the situation like #303 issue about multiple process debug, vscode pop up notification like "Failed launch debugger for child process xxxx".Sometimes, debugger can't acquire call stack info itself.
Screenshot from 2021-08-31 18-34-15
log.zip

import multiprocessing


def funcProcess(idx):
    return idx + 1

class myClass:
    def __init__(self):
        self.data = []

    def func(self):
        with multiprocessing.Pool() as myPool:
            self.data = myPool.map(funcProcess, range(1000))
        print(self.data)

tmp = myClass()
tmp.func()

Originally posted by @liheyi360 in #709 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions