You don't. Founding a company will be one of the hardest things either of you ever does. It's almost impossible to know beforehand how people will react to extreme stress, sleep deprivation, large amounts of money, etc...
You can certainly do your best to learn about each other and extrapolate what that means for a day to day working relationship, and for the good and bad times. I'd highly recommend working on a side-project together, or one of you hiring the other as a contractor for 1-3 months to work on the main product (pre-incorporation) with the understanding that everything will even out at incorporation. Equal (or reasonable) equity split, and the person paying the other for contracting work will get a reimbursement as part of the incorporation expenses.
To further reduce your risk, you absolutely need vesting and triggers. Based on my experience, the standard 4 year vesting / 1 year cliff is not enough for founders. I'd explore more long term options, such as 6 year vesting / 2 year cliff, or the 4/1 that only starts after reaching a significant revenue / fundraising milestone. The latter of 1 mil ARR or raising over 1 mil in funding. Obviously you should both have the same terms here.
You may also want to consider having only one of you on the board (so that in the worst case you can fire a cofounder). This should probably be the CEO. Also, CTOs are usually the first/only devs so you may want to consider setting a 6 month done-or-out milestone for product dev. This could be applied to other roles (CEO- fundraising, Sales- hitting early adopter/traction milestone), but I haven't seen that done in practice yet.
The worst case for you is that it doesn't work out in the early stages. This doesn't have to be a bad split, nor kill the startup. Sometimes people go in with good intentions, find out that it's not for them, and leave on good terms. But if they do leave, on good or bad terms, before the company is stable then you don't want them to take a large portion of the equity.
I strongly believe that founder equity is to compensate performance, not opportunity cost. That's why they need to have such a large portion- the risk of not performing is so great since the bar for a founder is so high, so if they do perform they need a large reward. If founders are concerned about opportunity costs of giving up a large salary, and need equity to make up for it, they probably aren't really ready to make the jump to a startup.