# Set breakpoint when running from command line

**URL:** <https://discourse.julialang.org/t/set-breakpoint-when-running-from-command-line/66701>\
**Category:** General Usage\
**Created:** [August 20, 2021, 3:26am UTC](https://discourse.julialang.org/t/set-breakpoint-when-running-from-command-line/66701 "2021-08-20T03:26:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![astrobc1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/astrobc1/32/45632_2.png) [@astrobc1](https://discourse.julialang.org/u/astrobc1)\
**Post date:** [August 20, 2021, 3:26am UTC](https://discourse.julialang.org/t/set-breakpoint-when-running-from-command-line/66701/1 "2021-08-20T03:26:34Z")

</div>

I’d like to set a breakpoint (`@bp`) when running code from the command line: `julia filename.jl` where the breakpoint could be inside a function or within the global scope of the file. Is this currently possible via Debugger.jl?
