# How to debug \`Pkg.build("....")\`?

**URL:** <https://discourse.julialang.org/t/how-to-debug-pkg-build/39601>\
**Category:** General Usage\
**Tags:** debug\
**Created:** [May 16, 2020, 9:47pm UTC](https://discourse.julialang.org/t/how-to-debug-pkg-build/39601 "2020-05-16T21:47:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xing\_Shi\_Cai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xing_shi_cai/32/14128_2.png) [@Xing\_Shi\_Cai](https://discourse.julialang.org/u/Xing_Shi_Cai)\
**Post date:** [May 16, 2020, 9:47pm UTC](https://discourse.julialang.org/t/how-to-debug-pkg-build/39601/1 "2020-05-16T21:47:32Z")

</div>

I have some trouble building a package ArbNumberics.jl. (See [here](https://github.com/JeffreySarnoff/ArbNumerics.jl/issues/41).)

So I tried to use Debugger.jl to debug it by

```julia
Using Debugger, Pkg
@enter Pkg.build("ArbNumercis")
1|debug> bp on error
1|debug> c

```

But this seems to take forever to run. If I switch to compelled mode, then code does run but it does not break on error.

Is there actually a way to debug it?
