In order to perform debugging on a remote target, it needs to be running the tcf-agent daemon. It is included by default on the -sdk images, but you can also include it in any other image by adding the following to your conf/local.conf file:
EXTRA_IMAGE_FEATURES += "eclipse-debug"