improve debug-req command.