Remote debugging gdbserver application without wasting time with SSH/etc

tc 1 Reputation point
2021-11-17T03:04:21.267+00:00

SImple question:

Trying to debug an application running on remote machine, which I've started with gdbserver 0.0.0.0:1234 appname

I cannot find any way to just attach to it, without wasting time setting up SSH access (not possible) or other stuff.

How can I JUST DEBUG without wasting time?
I tried doing attach to process -> entering gdb server IP/port in the "remote connection" box but its looking for some msmon stuff:

The Visual Studio 2022 Remote Debugger (MSVSMON.EXE) does not appear to be running on the remote computer. This may be because a firewall is preventing communication to the remote computer. Please see Help for assistance on configuring remote debugging.

Developer technologies Visual Studio Debugging
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.