One-piece swimming suit nightmare

da

Recently I went to swim and wanted to pee suddenly. I found out that I have to either take off my one-piece swimming suit, or to pull the suit to the side, so that I can go urinating. Is there a better way to pee when wearing a one-piece swimming suit, or I should avoid wearing it?