Add debug functions
depth test