Skip to content

Using ipdb or pdb inside a source block #216

@jsigman

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

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