core: add option "dirs" for command /debug