add of a debug mode