The business and industrial capital of Honduras, San Pedro generates almost two-thirds of the country’s GDP, with thousands employed in giant maquila (clothes-weaving) factories. It's wealthier and more sophisticated yet less interesting than Tegucigalpa. Despite its reputation for gang violence, tourists are rarely targeted and the town feels safer – whether it is or not – than the capital.
Indeed, the city is on an upswing, falling from the world's most violent city (outside of a war zone) in 2015 to number 26 in 2018. The city is doable for travelers for a day or two, but you should still be cautious, especially after dark.
Few linger, however: there are few sights, little cultural life, and the sultry climate can be oppressive. Since San Pedro's international airport is a main entry point and its bus station a crucial travel hub, you're very likely to pass through.