Closed BartSte closed 1 year ago
The regex depicted in yellow does not parse the backward slashed used by windows into periods:
As a result, no tests can be executed using dap. A workaround is to replace the line by:
local path = vim.fn.expand('%:.:r:gs?\\(/\\|\\\\\\)?.?')
Could you create a PR to handle this differently on windows? I don't use windows and support is best-effort by community contributions.
Closing as https://github.com/mfussenegger/nvim-dap-python/pull/96 got merged
The regex depicted in yellow does not parse the backward slashed used by windows into periods:
As a result, no tests can be executed using dap. A workaround is to replace the line by: