Added debugging to console (yet linux only)