Adds debug messages on invalid trigger call