Thanks for the reply! I do not have such a debugger (for example Atmel ICE). I only have the board that I connect with the USB cable to the computer. This way I can launch the debugger in the VS Code with PlatformIO (Arduino Mega 2560). I can't run debugger only with the USB cable in Eclipse.
I understand about the Arduino UNO, but about Arduino Mega 2560, can I run the debugger only USB cabel?