docs icon indicating copy to clipboard operation
docs copied to clipboard

VScode python remote debugging config is broken

Open JWBWork opened this issue 10 months ago • 0 comments

I'm building lambdas using localstack un VScode and wanted to try remote debugging

the provided launch config below results in VScode throwing an empty error window

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Remote Attach",
            "type": "python",
            "request": "attach",
            "connect": {
                "host": "localhost",
                "port": 19891
            },
            "pathMappings": [
                {
                    "localRoot": "${workspaceFolder}",
                    "remoteRoot": "."
                }
            ]
        }
    ]
}

only results in this uninformative error window from VScode when I try to run this - appears almost instantly Image

This is VScode version 1.94.2

JWBWork avatar Mar 27 '25 21:03 JWBWork