1

I'm trying to write a script that will dump all instances of a specific function signature in node.js's internal modules. Specifically, I'm trying to dump the locations of the internalBinding function call.

Basically, I'm try to replicate devtools > ctrl+shift+f > "internalBinding" from an automation.

I know that you get script sources using Debugger.getScriptSource(), but it requires a Runtime.ScriptId.

Is there a CDP API for getting all script ids?

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.