Debug when launched as a service