Debugging applications wrapped in flatpaks

I am developing a gnome libadwaita app in python and building it in flatpak. Is there a way to run the debugger (vscode’s python debugger in my case) inside the sandbox?