Add new extension command named debuglevel.

ok @jcvernaleo.