Add "debug" command
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 262
- Forks
- 228
- Avg merge
- 23h 15m
- Merged PRs (30d)
- 12
Description
The debug command would be like the run or launch command, but instead of running the node directly, it runs inside gdb or any configured debugger.
Currently, whenever a node fails, I copy the full command line that is printed in the last line of logs, type gdb --args + the copied command line, and debug the node. But a proper ROS2 CLI tool would be awesome.
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
Start by reading the existing run and launch command implementations and the code that prints the final node command line. Determine how a new debug command should select gdb or a configured debugger and how it should mirror those commands. Done means the command launches the node through the selected debugger and has coverage for its behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100