Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

debugger not disconnecting #22

Closed
jrieken opened this issue Sep 27, 2016 · 2 comments
Closed

debugger not disconnecting #22

jrieken opened this issue Sep 27, 2016 · 2 comments

Comments

@jrieken
Copy link
Member

jrieken commented Sep 27, 2016

  • have an app and config as shown below
  • run the app (without any breakpoint)
  • 🐛 the console keeps showing Waiting for the debugger to disconnect...

sep-27-2016 12-11-26

console.log(process.version, process.argv);

class Data {

}

const map = new Map();

let c = 0;
while (c++ < 1000) {
    map.set(new Data(), Math.ceil(Math.random() * 10000).toString(17));
}

console.log(map.size);

for (const entry of map) {
    console.log(entry);
}

console.log('disconnect');
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch",
            "type": "node2",
            "request": "launch",
            "program": "${workspaceRoot}/app.js",
            "stopOnEntry": false,
            "args": [],
            "cwd": "${workspaceRoot}",
            "preLaunchTask": null,
            "runtimeExecutable": null,
            "runtimeArgs": [
                "--nolazy"
            ],
            "env": {
                "NODE_ENV": "development"
            },
            "console": "internalConsole",
            "sourceMaps": false,
            "outFiles": []
        },
        {
            "name": "Attach",
            "type": "node",
            "request": "attach",
            "port": 5858,
            "address": "localhost",
            "restart": false,
            "sourceMaps": false,
            "outFiles": [],
            "localRoot": "${workspaceRoot}",
            "remoteRoot": null
        },
        {
            "name": "Attach to Process",
            "type": "node",
            "request": "attach",
            "processId": "${command.PickProcess}",
            "port": 5858,
            "sourceMaps": false,
            "outFiles": []
        }
    ]
}
@roblourens
Copy link
Member

Yeah this is #11, it's unfortunate

@charlestupman
Copy link

+1

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 29, 2018
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