Update index.js

debug module added