disable threading or don't run 2 instances of it.
there is no way around it
this is independent of debug mode nor not
there is no way around it
Obviously the GC wants to log something somewhere, Regular K, and the second instance is not able to open the file for writing while the first instance has it locked.
this is independent of debug mode nor not