[JBIDE-14556] only show console if we publish