base: add the FmtStackTrace debug option