I’m looking for a solution to debug a new developed binding directly on the device that will run it.
In Eclipse I created a Java Remote Application configuration with
Project: “” // I leave it empty
Connection type: Standard (Socket Attach)
OH2 is running in debug mode, with “Listening for transport dt_socket at address: 5005” message.
I think everything is correct but when I launch debug I obtain always
Failed to connect to remote VM. Connection refused.
Connection refused: connect
Someone have idea how to resolve it?