Add new function slac_debug

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>