-
Notifications
You must be signed in to change notification settings - Fork 280
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
auto-attach broken #931
Comments
here's another log file - nb this one creagted from |
I'm not able to reproduce this issue. From what you're saying it sounds like Node may not be waiting for the debugger to initialize before executing. Since you're using nvm, it would be easy to try a more recent 14.x release -- can you do so? |
Howdy, I tried with lts i.e. node 14.16.0 and same issue |
Ah man - I tried to record a screencast and now its working. FFS. No idea what changed. You can close this issue. |
Hi @connor4312, I've got some more info on this. nvm worked initially, then stopped working after a while for no apparent reason. I've been getting by with I tried a new approach - I removed nvm and installed node directly. It's working now, but - here's the clincher - i see a suspicious looking icon in the terminal (exclamation mark in top right corner) which I fear to press. Here's the full text of the popup on that icon:
I think this could be our culprit. I'm not pushing that icon until I know how to un-fix it if it winds up breaking my debugger. What are the |
The VSCODE_INSPECTOR_OPTIONS are set by the debugger and are required to hook up auto attach. It should not break auto attach. |
What do you mean by "required to hook up auto attach"? Auto attach is working just fine, the only slight annoyance is the warning icon.
I'll try accept what the warning is saying tomorrow. If the debugger stops working after setting this, then what? Is there a way to undo the `changes to the terminal's environment`
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Connor Peet ***@***.***>
Sent: Tuesday, March 30, 2021 5:24:19 PM
To: microsoft/vscode-js-debug ***@***.***>
Cc: Ilan Copelyn ***@***.***>; State change ***@***.***>
Subject: Re: [microsoft/vscode-js-debug] auto-attach broken (#931)
The VSCODE_INSPECTOR_OPTIONS are set by the debugger and are required to hook up auto attach. It should not break auto attach.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub<#931 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AANV7JLXE6J7BTTMVMREQ6DTGHUKHANCNFSM4YRQJN5A>.
|
Describe the bug
The auto-attach feature is not working for me. It used to work but stopped working about 2 weeks ago.
node --inspect-brk
works - but requires you to hit F5 twice - once to attach the debugger, once to start running - which is sub-optimal :)I'm running ubuntu 18 - haven't had an opp. to try ubuntu 20. I don't have other machines to try on.
To Reproduce
using auto-attach
using IDE
Log File
added 2 files:
VS Code Version:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: