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

Auto Attach not working in VsCode when debugging a simple node js application #206

Closed
Pratyush93exists opened this issue Apr 11, 2020 · 2 comments
Assignees

Comments

@Pratyush93exists
Copy link

Hi I am running my application, index file of which looks something like this :

setTimeOut(()=>{
console.log("HI")
},1000)

I have attached the toggle:Auto Attach mode from the command palatte and is seems to be on after this.

But, when I run the app with the command node --inspect index.js, I see that the execution completes but the debugger is not attached to the process. Can you please help me to triage this?

I have spent a lot of time finding the cause over the web, but nothing seems to help.

I am running this on top of an Ubuntu vm on my local machine.

@weinand weinand self-assigned this Jun 4, 2020
@Frisbeetarian
Copy link

Frisbeetarian commented Jul 16, 2020

Having same issue. All breakpoints are unbound. Attaching with Webstorm works fine.

@connor4312 connor4312 assigned connor4312 and unassigned weinand Jul 16, 2020
@connor4312
Copy link
Member

See: microsoft/vscode#102057 (comment). We're reverting to the previous auto attach behavior in the release coming out in a few hours.

Thanks for filing an issue!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants