Update debug.js

Small documentation change