So by default they will be attached to the wrong file type if we import the launch.json using nvim-dap, i.e. they are not aviailable in the launch menu of nvim-dap. However, we may redirect them to python instead, so they show up in the Launch menu:
Now they show up -- but -- if we launch any of them nvim-dap will complain that no adapter is installed for "debugpy", because nvim-dap-python registers only a "python" adapter not a "debugpy" adapter.
With the prospect of launch.json coming out of vscode projects in the future using the type-declarator "debugpy", wouldn't it make sense to support both in nvim-dap-python as well?
Hi, in the newest versions of vscode the type for a python launch configuration is represented as "debugpy" instead of "python".
Previously (deprecated):
New:
So by default they will be attached to the wrong file type if we import the launch.json using nvim-dap, i.e. they are not aviailable in the launch menu of nvim-dap. However, we may redirect them to python instead, so they show up in the Launch menu:
Now they show up -- but -- if we launch any of them nvim-dap will complain that no adapter is installed for "debugpy", because nvim-dap-python registers only a "python" adapter not a "debugpy" adapter.
With the prospect of launch.json coming out of vscode projects in the future using the type-declarator "debugpy", wouldn't it make sense to support both in nvim-dap-python as well?