gren-lang / gren-lang/compiler
Debug.breakpoint in core module
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 503
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
Goal
Having a function with signature breakpoint : a -> a that will call the js debugger function to pause the execution and to enable step debugger, and maybe log to console.
Use Cases
Debug complex computations using |> Debug.breakpoint between, or for cases where Debug.log could be spammed dozens of times and would be hard to know what is happening without pausing the execution.
Contributor guide
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 or tests; start by locating the core Debug module and the JavaScript output or runtime path for debugger calls. Confirm the function has signature breakpoint : a -> a and pauses execution when used in a pipeline, with console logging only if that remains part of the agreed behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100