您可以添加此配置,并在特定测试上放置断点,然后运行它
command = '/Users/muhammadmuaz/.local/share/nvim/mason/packages/debugpy/venv/bin/python', args = { '-m', 'debugpy.adapter' }; } dap.configurations.python = { @@ -21,7 +22,7 @@ dap.configurations.python = { elseif vim.fn.executable(cwd .. '/.venv/bin/python') == 1 then ...
您可以添加此配置,并在特定测试上放置断点,然后运行它