debugOn/Off ; implement some stubs