all repos

init.lua @ fc37594140d4439a0e437dbe0423b7f4eb15e184

my nvim config

init.lua/lua/configs/dap/langs/python.lua(view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
return function(dap)
  dap.adapters.python = {
    type = "executable",
    command = "python",
    args = { "-m", "debugpy.adapter" },
  }

  dap.configurations.python = {
    {
      type = "python",
      request = "launch",
      name = "Launch file",
      program = "${file}",
      pythonPath = "python",
    },
  }
end