aboutsummaryrefslogtreecommitdiffstats
path: root/lua/pi/dap/configs/python.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/pi/dap/configs/python.lua')
-rw-r--r--lua/pi/dap/configs/python.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/pi/dap/configs/python.lua b/lua/pi/dap/configs/python.lua
new file mode 100644
index 0000000..2e7fea7
--- /dev/null
+++ b/lua/pi/dap/configs/python.lua
@@ -0,0 +1,13 @@
+local dap = require "dap"
+require("dap-python").setup "python"
+require('dap-python').test_runner = 'pytest'
+-- dap.configurations.python = {
+-- {
+-- type = "python",
+-- request = "launch",
+-- name = "My custom launch configuration",
+-- program = "${file}",
+-- projectDir = "${workspaceRoot}"
+-- -- ... more options, see https://github.com/microsoft/debugpy/wiki/Debug-configuration-settings
+-- },
+-- }