Boot a QEMU guest headless the way the app does -- download the starter images and the barebone agent on demand, boot, inject, run one script -- for a fast feedback loop without the UI, and to see the connection stages and their timings as they arrive.