VS Code debugging

Hey all,

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

CLI docs link: cli/dev.md at main · netlify/cli · GitHub

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:

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