debuggin device registrion