Command Line Reference - Manual - Structured Text Debugger - The SIMATIC Debugger. Enables debugging source code on the PLC and is needed to run the debugger extension. - Debugger (sdb),tool

Structured Text Debugger CLI Tool (sdb)

Portfolio
SIMATIC AX
Product
Structured Text Debugger
Software version
1.3.6
Edition
11/2024
Language
English (original)
Package Name
@ax/sdb

The sdb needs to connect to a SIMATIC 1500 PLC target in the first step. Once connected, it provides a command prompt that can be used to interact with the target PLC.

Note

The debugger requires a program built with the stc option '--debug'. This option must be added when using the stc directly.
When using an apax project, it can be added to apax.yml:

variables:
APAX_BUILD_ARGS:
- "--debug"