Fixes resolution check for remote debugger (issue #2514)