Added debugpoint method.