alfaix / neotest-gtest

Google Test adapter for nvim-neotest
MIT License
42 stars 11 forks source link

DAP Debug not working #21

Closed rag-hav closed 3 months ago

rag-hav commented 3 months ago

Hey,

The debug adapter was not working for me. I looked around and adding

cwd =utils.normalized_root(vim.loop.cwd()),

to the table returned by NeotestAdapter:_build_spec_for_executable in file lua/neotest-gtest/neotest_adapter.lua fixed it.

alfaix commented 3 months ago

Hey, thank you for contributing, merged the PR :)