Log platform infos in debug mode

It will help when logs are posted by users with bug reports.