# Debugging and Breakpoints like in MATLAB

**URL:** <https://discourse.julialang.org/t/debugging-and-breakpoints-like-in-matlab/25270>\
**Category:** New to Julia\
**Created:** [June 13, 2019, 8:17pm UTC](https://discourse.julialang.org/t/debugging-and-breakpoints-like-in-matlab/25270 "2019-06-13T20:17:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amin\_Yahyaabadi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/amin_yahyaabadi/32/9826_2.png) [@Amin\_Yahyaabadi](https://discourse.julialang.org/u/Amin_Yahyaabadi)\
**Post date:** [June 13, 2019, 8:17pm UTC](https://discourse.julialang.org/t/debugging-and-breakpoints-like-in-matlab/25270/1 "2019-06-13T20:17:35Z")

</div>

How can I do debugging like in MATLAB (using breakpoints inside a function which is called by the main script to see what are the values of the variables in the workspace)?

I use Atom IDE, but the breakpoints in Atom do not work for Julia.  
I searched the whole internet but there is no guide for this simple task!

Edit: Anyone reading this later, use the following command to debug your function:  
`Juno.@enter Yourfunction(Itsargument)`

---

<div class="post-metadata">

**Author:** ![tim.holy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tim.holy/32/52_2.png) [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Post date:** [June 13, 2019, 8:28pm UTC](https://discourse.julialang.org/t/debugging-and-breakpoints-like-in-matlab/25270/2 "2019-06-13T20:28:17Z")

</div>

[Home · Juno Documentation](http://docs.junolab.org/latest/), then click on “Debugging”
