If you have diabetes, you want to avoid overcooking your pasta. When your pasta is overcooked, it loses its form and releases glucose easier, which will elevate your blood sugar. You should aim to cook the pasta until it is fit to eat, but do not cook it anymore than that.
If you have diabetes, it can be difficult to go out to eat. Research menus ahead of time so that you can plan your meal. If a menu is not available online, you can stop by the restaurant ahead of time and ask for a copy, or you can call and have it read to you by phone. Knowing what the restaurant serves will help you to become more prepared for how you can eat healthy at the restaurant.