janestreet / janestreet/magic-trace

Write out the PID

Open Beginner friendly
#256 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.