gregsexton / gregsexton/ob-ipython

Using ipdb or pdb inside a source block

Open
#216 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Emacs Lisp
Stars
742
Forks
107
PR merge metrics
No merged PRs in 30d

Description

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
```python
__import__("ipdb").set_trace()
```

In an org block with this header

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.