If you can do it, go with option 1. Get free of debt earlier. 2 years is not long at all in the grand scheme of things. Dragging it on for 6-8 years, your expenses will likely increase as you get older, so what seemed like 8 years might become 10-12.
Overall, figure out what works better for your worldview, what you want from life at this moment. Either path can end up being great.
If you have a strong discipline and can do option 1, go for it. You will feel great and it might inspire you to be more successful further in life. To make it not feel like you have no life and time is lost, make sure to feed your mind with positive inspiring books, audiobooks. That can add a sense of purpose to your life during these grind 2 years. A sense that you are doing somethjng great for your future, that you are closer to be financially independent, closer to buying a house, etc if you can free yourself of this debt.
With the right mindset, option 2 can also be great. May be you could consider option 3 where you move with parents for 3-4 years pay off debt, but still spend some money and travel. Depends how good your relationships with parents are.