-
Notifications
You must be signed in to change notification settings - Fork 9
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
[debug] collect all binaries generated with -g
#277
base: main
Are you sure you want to change the base?
Conversation
|
hello @vvlevchenko ! I understand that |
I think this merits a discussion about default behavior as well. Paketo targets producing production images, which would not typically include debug information as that would result in larger images. I like the idea of auto detecting the |
Hello @dmikusa, Sorry for delay, the main reason why user need debug info for containerised build is lack of debugger support for Windows and Mac OS hosts, so the user on these platforms can only relay on containerised builds or debugging JVM variants which is not the same. |
Hello @anthonydahanne!
Actually I amn't very familiar with buildpacks, and perhaps there are better ways. Scenario to debug binary is after getting the result image we're creating docker container which contains gdbserver, with entrypoint |
Thanks for the additional information. A couple of additional concerns/discussion points:
|
Summary
This prototype of fix #276
Use Cases
build of debug binaries with graalvm