facebook / facebook/buck2

Run target in debugger

Open
#373 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.4k
Forks
394
PR merge metrics
No merged PRs in 30d

Description

A common workflow for me is to always run binaries (both applications and tests) under a debugger, so that I can immediately investigate what is going on (as a side note, this is very common among Visual Studio users, e.g. in the games industry).

This is very useful to save time and to catch rare bugs, but it empirically only really works if it's convenient enough. Unfortunately, manually typing out `buck-out` paths or hacking around the output of `buck2 build --show-output` is hardly convenient.

Would you be open to adding support for this use-case via a new command/flag (e.g. `buck2 debug` or `buck2 run --debug`)? If so, I'd be happy to discuss the actual design and/or work on the implementation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.