# VS Code debugging

**URL:** <https://answers.netlify.com/t/vs-code-debugging/55351>\
**Category:** Support\
**Tags:** netlify-cli, edge\_functions\
**Created:** [April 22, 2022, 8:18pm UTC](https://answers.netlify.com/t/vs-code-debugging/55351 "2022-04-22T20:18:55Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [June 1, 2022, 12:12pm UTC](https://answers.netlify.com/t/vs-code-debugging/55351/7 "2022-06-01T12:12:23Z")

</div>

Hey all,

This is now available in netlify-cli v10.4.0.

CLI docs link: [cli/dev.md at main · netlify/cli · GitHub](https://github.com/netlify/cli/blob/main/docs/commands/dev.md)

Flags:  
`edgeInspect` - enable the V8 Inspector Protocol for Edge Functions, with an optional address in the host:port format  
`edgeInspectBrk` - enable the V8 Inspector Protocol for Edge Functions and pause execution on the first line of code, with an optional address in the host:port format

Usage:

```auto
netlify dev --edgeInspect
netlify dev --edgeInspect=127.0.0.1:9229
netlify dev --edgeInspectBrk
netlify dev --edgeInspectBrk=127.0.0.1:9229

```

---

_[View the full topic](https://answers.netlify.com/t/vs-code-debugging/55351)._
