Remove invalid `debug` references

The function `debug` is not defined.