The usual flow while debugging and trying to code is to google the stuff online understand the answers over StackOverflow and then try to apply it on your code. But that's no longer the case. If you want to debug the code want to write a function that has the logic defined Ask Stablecode is there for you. You can just ask AskStablecode and it'll generate required code free for you. Ask stable code is powered by stable code instruct alpha 3b parameter models specifically trained on code generation tasks and it's gonna help you write the code in various programming lanague which you'd like to work on.