Debug disabling print string

This bug seems to be happening in 5.3.2 also. After AI debbuging print doesn’t work anymore. However, the same solution seems to work (restarting the editor)