File tree Expand file tree Collapse file tree
lua/neotest-vstest/strategies Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ return function(dap_config)
2424 )
2525
2626 local client = vim .tbl_keys (spec .context .client_id_map )[1 ]
27- local ids = spec .context .projects_id_map [client ]
27+ local ids = spec .context .client_id_map [client ]
2828
2929 if spec .context .solution then
3030 dotnet_utils .build_path (spec .context .solution )
@@ -55,9 +55,6 @@ return function(dap_config)
5555 local finish_future = nio .control .future ()
5656 local result_code
5757
58- local client = discovery .get_client_for_project (project )
59- assert (client , " failed to get client for project" )
60-
6158 local run_result = client :debug_tests (ids )
6259
6360 nio .run (function ()
@@ -80,6 +77,8 @@ return function(dap_config)
8077 end
8178 end )
8279
80+ logger .debug (" neotest-vstest: starting debug session: " .. vim .inspect (run_result .pid ))
81+
8382 nio .scheduler ()
8483 dap .run (
8584 vim .tbl_extend (
You can’t perform that action at this time.
0 commit comments