1. Preheat the oven to 180°C (350°F).
2. Cut the butternut squash in half and remove the seeds. Slice it into strips, remove the skin, and dice it.
Arrange the diced butternut squash on a baking sheet lined with parchment paper. Bake for 15 minutes. Check the doneness by inserting a knife, which should go in easily.
3. Meanwhile, cook the fusilli according to the package instructions. Drain and rinse them under cold water to stop the cooking process. Transfer them to a mixing bowl.
4. Add the cooked butternut squash, dried thyme, heavy cream, and half of the grated Comté cheese to the mixing bowl. Pour everything into an oven-safe gratin dish. Sprinkle the remaining Comté cheese and breadcrumbs on top. Bake for 25 minutes at 180°C (350°F) until the top is lightly golden. Serve hot!