add debug message to check locale command