Skip to content

Using ipdb or pdb inside a source block #216

Description

@jsigman

Is it possible to use the debugger in a source block, in the same way that you can for jupyter?

I get the following error:

StdinNotImplementedError: raw_input was called, but this frontend does not support input requests.

When I use

        __import__("ipdb").set_trace()

In an org block with this header

#+begin_src ipython :session :exports both :results raw output drawer :async t

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions