New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 741203 link

Starred by 3 users

Issue metadata

Status: Duplicate
Merged: issue 498454
Owner:
Last visit > 30 days ago
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

DevTools: can't access closure variables in node.js

Project Member Reported by chenwilliam@chromium.org, Jul 11 2017

Issue description

Chrome Version: 59.0.3071.115 (Official Build) (64-bit)
OS: Goobuntu
Node version: v8.1.4

What steps will reproduce the problem?

Repro case:
```
const path = require('path');

debugger;
function main(){
  debugger;
}

main();
```

(1) If I stop at the first debugger, I can access the path variable from console 
(2) If I stop at the second debugger, I can't access the path variable from console

 
Screenshot from 2017-07-11 16:54:14.png
89.3 KB View Download
Description: Show this description
Cc: -kozyatinskiy@chromium.org eostroukhov@chromium.org
Owner: kozyatinskiy@chromium.org
Alexei, please take a look
Mergedinto: 498454
Status: Duplicate (was: Assigned)
It looks to me like a duplicate. If you can reproduce it when path is used inside of main then please remerge it.

Sign in to add a comment