collective / collective/rapido.core
ability to debug online
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
User problem
When working out whats wrong your code can be a pain. Your options are to return debug messages via http or exceptions. Or use logs (which you have to look at via the commandline.
Needs some brainstorming about how improve debugging code in an environment where you don't have access to the commandline and where you can't afford to have threads sitting and waiting.
Options
stateless web pdb.
Not sure if it would work but the idea would be
- do something like set_trace() in the code
- abort the transaction and send back a display with a pdb prompt
- entered command stored in a cookie and request is retried
- when the set_trace is hit, the cookie with past commands is replayed, output collected, transaction aborted and output sent back with next pdb prompt
log console in the toolbar.
Normal log, or something like this - https://github.com/zestyping/q
Perhaps include in http headers as well?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by clarifying whether the project should pursue a stateless web pdb or a toolbar log console, then define the supported debugging workflow and a concrete completion scope before locating implementation points.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100