Use Python Interface with running world

I’d like to debug a standalone application that I use to manipulate some items in my scene (e.g. updating textures). So far, I can use the IsaacSim VSCode extension to run my code, but I still could not figure out how to debug the application.
I followed the tutorials but they require an SimulationApp to be instantiated before being able to load the isaac modules:

  from isaacsim import SimulationApp
  simulation_app = SimulationApp({"headless": False})
  from omni.isaac.core import World

I don’t want to open a new Simulation each time I run the script, but work with the scene that I manually opened in IsaacSim.

This has to be possible, but I still could not manage to use a debugger.

Could someone point me to the right example? I just want to be able to run

import omni
stage = omni.usd.get_context().get_stage()
some_object = stage.GetPrimAtPath('/World/foo_object')

And have a debugger to easily check what I can do with ‘some_object’.

Isaac Sim Version

4.2.0

Operating System

Ubuntu 22.04