CLion
 
Get CLion
Join the CLion 2025.1 Early Access Program and try out new features before they are released! Find out more

Debug servers

Last modified: 06 February 2025

Debug Servers is a configuration option that makes it easier to set up debugging for embedded development. Using a pre-configured debug server, you can run different run/debug configurations or build system targets such as CMake or Makefile. You can also run long-lived debug server sessions, known as GDB target extended-remote mode: the server does not shut down when you stop debugging.

This guide explains how to configure a debug server and run a debug session. To demonstrate the feature functionality, we use the nRF52840 Development Kit with a built-in SEGGER J-Link debugger and a simple application example that outputs “Hello world” in the console.