Have owned a diesel for over 25 years. If I was forced to go back to gas my camper towing days would be over.
As far as diesel truck issues go, you have to do your homework.
Do not buy a first year production truck form any manufacturer..... They will have the most issues. Wait a year or 2 for the bugs to be worked out.
As far as I know, the GM trucks from 2017 and up are the only diesel engines that do not use the bosch fuel systems ( they are now Denso ). The Bosch CP4 pumps have been reported to self destruct causing catastrophic engine damage to the tune of 15k+. There is a class action law suit currently under way regarding that pumps use by all 3 major manufactures.