Oh man, +1,000,000. As someone who made the other choice from the same position you were in, this is exactly the advice I give to any fresh-faced grad student who gets all glassy-eyed and weak-minded in the face of doing "cool research" for some wonk professor for years while letting the real world slide by in the background.
You don't realize it when you're 22, but you've only got so much irrational exuberance and tolerance for crazy work schedules in reserve. Once that phase of your life is gone, it's gone, and you'll never get it back. Also, your friends are all moving on, too: the people with whom you can do things like co-found companies won't be in the same risk-tolerance categories when you're finally done with your research-based vacation from life.
During the time I was getting a PhD, I missed out on the second-biggest technology wealth creation event of my lifetime. My best friends -- the guys with whom I'd want to found companies -- got older, married, and had children. They're not able to take risks like that now. The world is harder and more expensive.
Now I'm working in the technology industry anyway, and I look around the world and see younger guys who are VP or C-level roles, leading large teams, and otherwise further along on the career ladder. But I have a PhD.