I'm debugging my Python code and I wanted to make my script only execute until a certain line, so I can easily see what is happening.
# python code I want to execute break_here_and_let_me_read_the_console_output() # more python code I don't want to execute
I've found out that there's Python's built-in functions like
quit(). The problem is - if I use them, not only my script it terminated, but the whole Blender instance that I was running that script inside is terminated too.
How can I stop only my script, but not Blender itself?