-
Notifications
You must be signed in to change notification settings - Fork 950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable --inspect-functions across multiple codebases #6854
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6854 +/- ##
==========================================
- Coverage 54.26% 54.24% -0.02%
==========================================
Files 352 352
Lines 24519 24531 +12
Branches 5075 5079 +4
==========================================
+ Hits 13305 13307 +2
- Misses 9998 10009 +11
+ Partials 1216 1215 -1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with one suggestion to head off issues/
src/emulator/functionsEmulator.ts
Outdated
this.logger.logLabeled( | ||
"SUCCESS", | ||
"functions", | ||
`Using debug port ${port} for functions codebase ${backend.codebase}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For ports other than 9299, maybe remind users that they will have to add the port to inspector manually in this message - ie:
Using debug port 9300 for functions codebase ${backend.codebase}. You may need to add manually add this port to your inspector.
Addresses feature request in #6817.
When testing I was able to get this to work, but unfortunately Chrome doesn't scan all ports, so you need to manually add the address in Chrome:
Snippet from the console output in testing:
We start with port 9229 as it's default configured in Chrome. Additional ports will need to be added manually.