Skip to content

debugger: fix the regex of function name

To show the result of exec command of node inspect, node try to extract the name of the function from RemoteObject (e.g. [Function: func] from function func() {}). This PR fixed the regex to be able to get the correct name in all cases.

Merge request reports

Loading