alexmojaki / alexmojaki/pyodide-worker-runner
Interactive session
- Linguagem predominante
- TypeScript
- Estrelas
- 31
- Forks
- 2
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Hello, just an idea I would like to explore.
I would like my users to have the possibility to do an interactive session in a console.
One way I found out how to do this is by just setting the first line of code to be:
```
import pdb; pdb.set_trace()
```
then, users can interactively add whatever they want.
You reckon this is a good idea?
The issue is, that calling the worker always creates a new session and I am not sure how to preserve it and call code withing that session context.
The repro is here:
https://codesandbox.io/s/eager-williams-ly7fxf
Kind regards
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.