Skip to content

Commit 27a0eff

Browse files
committed
Set subProcess to false if not present in config
Until the `startDebugging` request is implemented in both nvim-dap and debugpy it's safer to set it to false as it can cause issues with some packages. See microsoft/debugpy#1096
1 parent 408186a commit 27a0eff

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lua/dap-python.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ local enrich_config = function(config, on_config)
6767
if not config.pythonPath and not config.python then
6868
config.pythonPath = get_python_path()
6969
end
70+
if config.subProcess == nil then
71+
config.subProcess = false
72+
end
7073
on_config(config)
7174
end
7275

0 commit comments

Comments
 (0)