# Post-mortem debugging

**URL:** <https://forum.legato.io/t/post-mortem-debugging/5097>\
**Category:** Legato Application Framework\
**Created:** [March 23, 2020, 10:48am UTC](https://forum.legato.io/t/post-mortem-debugging/5097 "2020-03-23T10:48:35Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![zuuuuk](https://avatars.discourse-cdn.com/v4/letter/z/e5b9ba/32.png) [@zuuuuk](https://forum.legato.io/u/zuuuuk)\
**Post date:** [April 16, 2020, 8:01am UTC](https://forum.legato.io/t/post-mortem-debugging/5097/5 "2020-04-16T08:01:30Z")

</div>

I followed the recommendations on the legato website.  
And migrate to Visual code.  
but i have a problem whith debuging breakepoint.

> [@Disable breakpoint](https://forum.legato.io/t/disable-breakpoint/5139):
>
> Hello I used VS code whith leaf plagin 1.0.1 wp7502. legato 19.11.1 OS ubunt 18 i set breakpoint in funtiion COMPONENT\_INIT(). When a debugging session starts, breakpoints cannot be registered. But if i set breakpint in main() function then everything works. how to fix it? my launch.json { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: [Debugging in Visual Studio Code](https://go.microsoft.com/fwlink/?linkid=830387) “v…

now i use  
visual code 1.14  
ubuntu linux 18  
legato 19.11  
wp7502

---

_[View the full topic](https://forum.legato.io/t/post-mortem-debugging/5097)._
