set debug based on NODE_DEBUG env
Fix #88 Don't fail to return on empty/comment patterns