require("dap-python").setup("%PYTHONENV%/bin/python") do local whichkey = require("which-key") whichkey.add({ { "pd", desc = "Debugger-related commands" }, { "pdt", desc = "Tests" }, { "pdtf", require("dap-python").test_class, desc = "Run Python tests in the current file" }, { "pdtc", require("dap-python").test_method, desc = "Run the Python test under the cursor" }, }) end