Hi, I follow this guide ‘https://redash.io/help/open-source/dev-guide/debugging’.
I done every steps.

But when I set a breakpoint, I got this

pydev debugger: warning: trying to add breakpoint to file that does not exist: /app/h:/workspace_python/redash/redash/authentication/remote_user_auth.py (will have no effect)

I am new with python, and I searched this error in google, I read the vs code flask debug page, but I don’t know how to solve it.

Can anyone help me.

this is some log

docker-compose stop server && docker-compose run --rm --service-ports server debug && docker-compose start serv
er
Starting redash_redis_1 ... done
Starting redash_postgres_1 ... done
[2019-04-28 03:03:03,552][PID:1][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt[2019-04-28 03:03:03,641][PID:1][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
 * Forcing debug mode on
[2019-04-28 03:03:05,923][PID:1][INFO][werkzeug]  * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)

this is the vscode launch.json

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Attach",
            "type": "python",
            "request": "attach",
            "port": 5678,
            "host": "localhost",
            "pathMappings": [
                {
                    "localRoot": "${workspaceFolder}",
                    "remoteRoot": "/app"
                }
            ]
        }
    ]
}

My redash version is v7.0.0.

I changed my mac book, it’s ok now.:sweat_smile: