add debug mode and update package.json