# 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:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsaunders92](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jsaunders92/32/36466_2.png) [@jsaunders92](https://answers.netlify.com/u/jsaunders92)\
**Post date:** [April 22, 2022, 8:18pm UTC](https://answers.netlify.com/t/vs-code-debugging/55351/1 "2022-04-22T20:18:55Z")

</div>

Hi,

I was wondering if it’s possible to debug Edge functions in VS Code like it is with standard Lambda functions?

I can’t get seem to get the debugger to hit. The CLI did tell me it was going to make a change to my VS Code config but then nothing seemed to change. Is this a known issue? Is this my side?

Thanks,

Jamie

---

<div class="post-metadata">

**Author:** ![hillary](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hillary/32/21132_2.png) [@hillary](https://answers.netlify.com/u/hillary)\
**Post date:** [April 25, 2022, 3:14pm UTC](https://answers.netlify.com/t/vs-code-debugging/55351/4 "2022-04-25T15:14:02Z")

</div>

Hey there, @jsaunders92 👋

Thanks so much for reaching out about this. We have filed an issue with the team working on this, and will follow up here once we have more insights for you.

---

<div class="post-metadata">

**Author:** ![jsaunders92](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jsaunders92/32/36466_2.png) [@jsaunders92](https://answers.netlify.com/u/jsaunders92)\
**Post date:** [April 25, 2022, 3:25pm UTC](https://answers.netlify.com/t/vs-code-debugging/55351/5 "2022-04-25T15:25:50Z")

</div>

Hey @hillary,

Thank you! I look forward to hearing some more soon 🙂

---

<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:** [April 27, 2022, 11:43am UTC](https://answers.netlify.com/t/vs-code-debugging/55351/6 "2022-04-27T11:43:19Z")

</div>

Hey @jsaunders92,

The team has prioritized this as we see how this could be helpful to the users. We’d probably be creating some documentation or guides about it. We haven’t ironed out the specifics yet, and thus, it will take some time, and we’d post an update once we’ve got there.

Unfortunately, we don’t have anything immediate to share at the moment.

---

<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

```

---

<div class="post-metadata">

**Author:** ![jsaunders92](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jsaunders92/32/36466_2.png) [@jsaunders92](https://answers.netlify.com/u/jsaunders92)\
**Post date:** [June 1, 2022, 1:41pm UTC](https://answers.netlify.com/t/vs-code-debugging/55351/8 "2022-06-01T13:41:33Z")

</div>

Hi,

Thank you!! Can’t wait to give this a go.
