bneumann / CppUTest-Test-Adapter

A test adapter for Visual Studio Code for the C/C++ Unit Test framework CppUTest.
MIT License
16 stars 7 forks source link

Set the launch profile when debugging tests #47

Closed alastairtree closed 12 months ago

alastairtree commented 1 year ago

Is it possible to configure which configuration is opened from the launch.json when you try and debug a unit test? Seems like currently it just opens the first one?

bneumann commented 1 year ago

That's true, sorry bout that. I will look into it after my vacation.

alastairtree commented 12 months ago

@bneumann I have added PR #48 which will fix this issue and allow the user to chose the name of the launch profile they want to use, and if unspecified fall back to the existing behaviour.

bneumann commented 12 months ago

Wonderful, thanks for the help. Unfortunately I cannot make release from where I am right now. Will do in Sunday when I come back. which reminds me to finally finish the pipeline for automatic releases.

alastairtree commented 12 months ago

I have sent you another PR because there was a dumb typo where from renaming the config setting, see #49, and then should be good to go. Thank you for the awesome tool!