Do not eat shrimp that hasn't been deveined. The black "vein" that runs through the shrimp is its intestine and could contain bacteria. Even though you are cooking this shrimp, it's a part of food safety to always remove the vein before cooking it.