# Build Julia with debug files

**URL:** <https://discourse.julialang.org/t/build-julia-with-debug-files/111131>\
**Category:** Internals & Design\
**Tags:** build\
**Created:** [March 4, 2024, 12:33pm UTC](https://discourse.julialang.org/t/build-julia-with-debug-files/111131 "2024-03-04T12:33:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luc\_W](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/luc_w/32/207478_2.png) [@Luc\_W](https://discourse.julialang.org/u/Luc_W)\
**Post date:** [March 4, 2024, 12:33pm UTC](https://discourse.julialang.org/t/build-julia-with-debug-files/111131/1 "2024-03-04T12:33:52Z")

</div>

Is there a way to enable generating debug info with the release build. I know that you can build a debug version in cygwin with “make -j 4 debug” but this will append “-debug” to julia.exe and some dll’s. I tried removing “-debug” from the make files but this generates errors while building.
