For example, execute the trace command in the background:
trace demo.MathGame primeFactors &{{execute T2}}
trace demo.MathGame primeFactors &
By doing this, the current command is put to the background to run, you can continue to execute other commands in the console.