Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
270 views
in Technique[技术] by (71.8m points)

Code that creates a SourceRequest in vscode python debugger

I'm trying to extend the vscode python debugger to read + debug files in a custom file system. When looking at the debugger log, I see the fragment below,

Process SourceRequest: {
    "arguments": {
        "source": {
            "path": "customfs:/lib/mail.py",
            "sourceReference": 1
        },
        "sourceReference": 1
    },
    "command": "source",
    "seq": 24,
    "type": "request"
}

Searching through the debugpy code-base https://github.com/microsoft/debugpy didn't turn up anything.

Can someone who is familiar with the code help point me to where the code is that originates this SourceRequest command?

Thanks!

question from:https://stackoverflow.com/questions/65540924/code-that-creates-a-sourcerequest-in-vscode-python-debugger

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...