This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
Breakpoints are not hit on Windows #795
Labels
api: clouddebugger
Issues related to the googleapis/cloud-debug-nodejs API.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
🚨
This issue needs some love.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Breakpoints don't appear to be hit on Windows (Tested on Windows Server 2019 with Node 12.13.1).
The following code isolates how the debug agent uses V8's inspector API. Either we are using the API incorrectly or there is a bug in the API.
index.js
Running
node index.js
on Linux causes thePaused with message ...
callback to correctly get called. When running the code on Windows, the callback is never invoked. I think this is why breakpoints are not being hit by the debug agent on Windows.The following is the output on Linux
while on Windows the output is
Notice that the
Setting breakpoint
response returns a list of locations with zero elements.The text was updated successfully, but these errors were encountered: