If your reason for self-publishing is to catch an editor’s eye, you’re betting on a long shot. The self-pubbed books that cross editors’ radars do so because of notably high sales numbers—which those authors earned by promoting the heck out of the books. They didn’t pub then wait for offers to roll in. Those cases make news because they’re rare. More likely: You’ll self-pub your book but continue to submit it to publishers. If you can report you’ve sold 30,000 or 40,000 on your own, then the self-pubbing will help make the deal. The editor will note the exceptional performance, figure you’re a good self-promotion bet, and see an eager audience for this and future books. If you don’t sell in high numbers, the self-pubbing becomes irrelevant to your submission and editors will judge the book as they would any unpubbed manuscript. They’ll sign it because they like it and believe their resources will yield preferred sales. A career strategy that banks on triggering traditional publication through self-publication is shaky.
The only thing we can control is the writing. The rest “will out”.