# Logpoints in VS Code

**URL:** <https://discourse.julialang.org/t/logpoints-in-vs-code/65928>\
**Category:** VS Code\
**Tags:** debug\
**Created:** [August 6, 2021, 5:50am UTC](https://discourse.julialang.org/t/logpoints-in-vs-code/65928 "2021-08-06T05:50:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ettersi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ettersi/32/6829_2.png) [@ettersi](https://discourse.julialang.org/u/ettersi)\
**Post date:** [August 6, 2021, 5:50am UTC](https://discourse.julialang.org/t/logpoints-in-vs-code/65928/1 "2021-08-06T05:50:54Z")

</div>

Does the Julia extension for VS Code support the “logpoints” debugging feature? As far as I can tell, logpoints are currently treated just like breakpoints.

Here’s what I tried:

- Copy this function into a file `foo.jl`:

```julia
function foo()
    s = 0
    for i = 1:5
        s += i
    end
end

```

- Create a logpoint on the `s += 1` line with text `hello world`.
- Run `include("foo.jl"); @run foo()`

I would have expected this would print `hello world` five times, but it seems it just breaks five times instead.

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [August 6, 2021, 6:29am UTC](https://discourse.julialang.org/t/logpoints-in-vs-code/65928/2 "2021-08-06T06:29:32Z")

</div>

Not at the moment, the underlying debugger doesn’t support it, see [here](https://github.com/JuliaDebug/JuliaInterpreter.jl/issues/367).
