Improve debugger config UI
Make error message more informative
Fix tests