debug command line : correction to print also command name removed by ExtractCommand()
refactoring