Deubug code can only be called once

Debug code must be require_once not require.  Otherwise when called a
second time, the program crashes.