Remote debugging

Hello,

I am following this tutorial:

https://docs.legato.io/latest/howToDebugGDB.html#howToDebugGDB_building

After this step I get a response:

(gdb) target remote localhost:2000
Remote debugging using localhost:2000
Remote communication error.  Target disconnected.: Connection reset by peer.

And on the target I see this output:
channel 3: open failed: connect failed:

What could be the problem? My app is using Legato Version: 18.06.03 I am using gdb server from the toolchain that comes with that version of Legato. I managed to execute all steps inbefore that one without a problem. I am using Ubuntu 18.04 on host machine.

do you want to use debug view in Developer studio for setting breakpoints?