Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Peter Jacobsen](https://secure.gravatar.com/avatar/f0dc872bc4fe6817b3ec6c80af4ed26b?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Peter Jacobsen
2,142 PointsVSC goes to next input point after running again without entering an input.
Ok so, my problem is, that if i click run and it asks for an input without me adding an input, and i then edit it and save, then when i run it again, it goes to next input point. so i have to run it multiple times to restart script. Why and how can i change that? :)
![Peter Jacobsen](https://secure.gravatar.com/avatar/f0dc872bc4fe6817b3ec6c80af4ed26b?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Peter Jacobsen
2,142 PointsThis whole message is said with a smile, so i don't mean to be offensive in ANY way:)
I don't know if i read it in the wrong tone but it feels like you're a bit offensive? IF THATS THE CASE... well try and read my question again.. What does my code have to do with the way VSC works. Now VSC has options to edit how it should work but i need to know what file to edit and what code. So my code wouldn't help anything. Therefore it is a waste of time for you to read the code. now next time when helping, don't come out offensive, thats not a way to help people :)
IF YOU DIDN'T MEAN TO BE OFFENSIVE: I appreciate your time to try and help, but it's not my code theres something wrong with. its VSC which is a program to code, just like sublime text, or Eclipse etc. When running a program, and you see a error in your code, you edit and save the code, and run again you would expect it to start over. It does not, it goes to the next input of the script. Therefore i ask IF and HOW i can change that so it restarts the script whenever i hit "RUN SCRIPT" since its possible to edit some settings, but it requires json coding and maybe some other coding language :)
Now the first message for the offensive part, is because i don't want somebody to come and be offensive, thats not why im asking for help. If you didn't understand you could just ask me to give a further explanation.
Either way i hope you have a great day. Peace :)
![Steven Parker](https://uploads.teamtreehouse.com/production/profile-photos/969492/micro_tool_chess_set_2.jpg)
Steven Parker
230,688 PointsI was just providing hints in case you wanted to share your code to make it possible for someone to replicate the issue. It didn't occur to me that someone more experienced with VSC/Python might have a ready answer without seeing the issue first hand. Good luck, and happy coding!
2 Answers
![Rachel KTY Johnson](https://uploads.teamtreehouse.com/production/profile-photos/10542082/micro_MVIMG_20181123_130419.jpg)
Rachel KTY Johnson
Treehouse Project ReviewerHey Peter Jacobsen ! I can't be 100% sure but it sounds like you may have a debugger running within VSCode. It sounds like it's stepping through bits of your code at a time until it hits a specific line (ie, one that asks for input or one that causes an error), which is what a debugger would be doing. I don't personally use VSCode, but you may want to check if the script is done running completely (usually if it's not, there might be a STOP button present) before running it again.
![Peter Jacobsen](https://secure.gravatar.com/avatar/f0dc872bc4fe6817b3ec6c80af4ed26b?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Peter Jacobsen
2,142 PointsOh, no worries, i just didn't know how to take the first comment :) and thanks :)
Steven Parker
230,688 PointsSteven Parker
230,688 PointsIt would help if you show your code. Take a look at this video about Posting a Question, and perhaps also this one about sharing a snapshot of your workspace.