move debug.py inside service
fixed service on android