-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Labels
Package: nodeIssues related to the Sentry Node SDKIssues related to the Sentry Node SDK
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.26.0
Framework Version
Node v20.12.2
Link to Sentry event
No response
Reproduction Example/SDK Setup
Sentry.init({
dsn: process.env.SENTRY_DSN,
includeLocalVariables: true,
});
Steps to Reproduce
- start the nodejs app with --inspect
- init sentry with
includeLocalVariables: true
- connect a debugger to the process
- trigger a breakpoint
Expected Result
Process is paused, and can step into/over/resume the execution
Actual Result
Process appears to pause for a millisecond and then immediately resumed.
I believe this is because the LocalVariablesAsync integration will resume all breakpoints immediately.
This does not appear to be documented anywhere. Is this expected behaviour?
Metadata
Metadata
Assignees
Labels
Package: nodeIssues related to the Sentry Node SDKIssues related to the Sentry Node SDK
Type
Projects
Status
No status