connect a pudb or ipython shell to a running python process via code injection