Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot expand complex objects printed through console.log #16641

Closed
alexdima opened this issue Dec 6, 2016 · 1 comment
Closed

Cannot expand complex objects printed through console.log #16641

alexdima opened this issue Dec 6, 2016 · 1 comment
Assignees

Comments

@alexdima
Copy link
Member

alexdima commented Dec 6, 2016

Testing #15901

I cannot interact with printed objects as advertised in #15901

nodejs process.versions:

ares:"1.10.1-DEV"
http_parser:"2.7.0"
icu:"57.1"
modules:"48"
node:"6.9.1"
openssl:"1.0.2j"
uv:"1.9.1"
v8:"5.1.281.84"
zlib:"1.2.8"

main.js

var a, b, c, d, e, f;

a = '5';
b = 123;
c = 321;
d = 'a very long string';
e = null;
f = [ 123, 231, 312];

console.log({
    asd1: 'asd',
    asd2: 'asd',
    asd3: 'asd',
    asd4: 'asd',
    asd5: 'asd',
    asd6: 'asd',
    asd7: 'asd',
    asd8: 'asd',
    asd9: 'asd',
    asd10: 'asd',
    asd11: 'asd',
    asd12: 'asd',
    asd13: 'asd'
})

console.log(console);

console.log(a, b, c, d, e, f);

launch.json

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch Program",
            "type": "node2",
            "request": "launch",
            "program": "${workspaceRoot}/main.js",
            "cwd": "${workspaceRoot}"
        },
        {
            "name": "Attach to Process",
            "type": "node2",
            "request": "attach",
            "port": 9229
        }
    ]
}

breakpoint on last console.log statement.

image

@roblourens
Copy link
Member

This is actually not implemented yet, microsoft/vscode-node-debug2#63

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants