print device information only in debug mode