alexmojaki / alexmojaki/pyodide-worker-runner

Interactive session

Aberta
#31 0 comentários 0 reações 0 responsáveis Ver no GitHub
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.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.