This to me is the purpose of pseudocode. Planning out what you want to happen, without worrying about all the nitty-gritty details to start.
I do something similar when I code, especially if it's a larger problem. Often, I use comments, to first put down my thoughts similar to "do this, then if this, do that, else do this." After, I can start coding by tackling one comment at a time (which is a lot less daunting). And, usually each comment a good place to test that it's working as expected.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.