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

Breakpoints not resolving properly in attach configuration on Windows #12951

Closed
roblourens opened this issue Sep 28, 2016 · 4 comments
Closed

Comments

@roblourens
Copy link
Member

From @mousetraps on September 27, 2016 21:19

Testing #12600

Node v6.6.0 (32-bit), Windows

/* app.js */
var screenName = 'hello';
var sc = ""; // set breakpoint
setTimeout(function() {
    console.log('done');
    a(screenName);

    process.exit(); // set breakpoint
},1000)

function a(screenName) {
    console.log(screenName); // set breakpoint
}

From cmd line: node --inspect --debug-brk app.js, then run attach debug configuration

image

Copied from original issue: microsoft/vscode-node-debug2#37

@roblourens
Copy link
Member Author

From @mousetraps on September 27, 2016 21:46

Diagnostic log:
vscode-node-debug2.txt

@roblourens
Copy link
Member Author

Ohhh, your command prompt is using an uppercase drive letter. But if you do a launch, it launches with a lowercase drive letter.

I'm glad that I just noticed this exists - microsoft/vscode-chrome-debug-core#107 - it's the only way to fix this.

@roblourens roblourens added the bug Issue identified by VS Code Team member as probable bug label Sep 28, 2016
@roblourens
Copy link
Member Author

Fixed

@roblourens
Copy link
Member Author

Ignore...

@roblourens roblourens removed the bug Issue identified by VS Code Team member as probable bug label Sep 28, 2016
@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

1 participant