janestreet / janestreet/magic-trace
Write out the PID
Open
Beginner friendly
good first issue
- Dominant language
- OCaml
- Stars
- 6.3k
- Forks
- 209
- PR merge metrics
- No merged PRs in 30d
Description
If magic-trace wrote out the PID of the process it was attached to when it attached, users could copy+paste that the next time they invoke magic-trace. I already do that with the symbol after using `-trigger ?`, and it'd be useful to do it for PID as well.
Contributor guide
Research direction
Start by tracing magic-trace's attach flow and the existing output produced for `-trigger ?`. Add equivalent output for the attached process's PID, then verify that users can copy it for a later invocation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- cli, performance
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 70/100