Once the connection is established, we can proceed to setting up debugging.


Debugging, in principle

Generally speaking, to perform debugging in VS Code, you need to:

  1. Configure the debugging in launch.json .

  2. Start listening on incoming debugging connections or initiate one from the IDE (depending on the language).

  3. Add a breakpoint in the code (or more).

  4. Generate a request so the debugging session begins.



We have also prepared a few concrete examples for you to follow: