all repos

init.lua @ d1b3233

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