Skip to content

HOWTO: VSCode debugging

Yam Mesicka edited this page Sep 27, 2020 · 1 revision

launch.json:

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

Run: export DEBUGGER=True, and then . ./build.sh && . ./start.sh && . ./bootstrap.sh

You can now attach VSCode to your Docker setup. glhf.

Clone this wiki locally