Added a debug var that we should use for all debugging-purpouse functions.