Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging single-file executables #9584

Open
antonlyap opened this issue Mar 23, 2024 · 0 comments
Open

Debugging single-file executables #9584

antonlyap opened this issue Mar 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@antonlyap
Copy link

What is the problem this feature would solve?

Currently there is no (documented) way of debugging an executable built with bun --build --compile.

What is the feature you are proposing to solve the problem?

The binaries could support the --inspect flag. Maybe Bun could build different executables for debugging and production.

What alternatives have you considered?

The farthest I've gotten is to build a single JS file and debug that.

@antonlyap antonlyap added the enhancement New feature or request label Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant