You have to use the Worker system. You are better off writing your own console helper app. Workers run as cooperative threads in debug, so you can’t properly test them.
So I’ll stick now with macOS Lite as Linux is free now and I don’t have the need to do any Windows version…
Only reason would be to go for Pro license. But then again, no need now for Mobile or Web Apps now, as I’m going for Mobile the XCode way and for Web I do PHP/JS/PSQL since twenty years now (o;