Apax scripts - 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

Another way to run the debugger is an apax script. The results are shown in the terminal in which the script was started.

Just open the apax.yml file in the project folder and add a new script. An example apax script might be:

scripts:
  debug: "sdb --targetIP 192.168.0.1 --certificate ./ax-sdb-example.cer --password superSecurePassword1337"

Now the debug command can be started by typing:

apax debug

It is possible to add more than one script to the scripts section.