-
Notifications
You must be signed in to change notification settings - Fork 29k
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
Test: js-debug auto attach #105771
Comments
|
@connor4312 This TPI wasn't obvious to me. I never used this area of Code so I didn't understand what it was about. I also didn't know how to start it. This was even after I read the original feature request item. I had @isidorn talk me through the whole thing in Teams. I believe some introduction is always needed, eg:
|
My 2 cents: the node auto attach feature should be unified with the JavaScript Debug Terminal. To make a smoother unified experience. I understand this will probably not make all the users happy but just feels like they should be one thing to me. |
Yeah, for something that should be a smooth experience (auto attaching to a node process), I must say the following points make it confusing:
|
I was able to auto attach to a |
Thank you for the feedback and bugs!
The environment variables are set per-workspace, regardless of where the setting is stored. So if you have auto attach in your settings and you open a new workspace, the built-in 'debug auto launch' extension will activate js-debug and ask it to set up the environment variables for that workspace. This isn't a concept really exposed to users, but I mentioned it because it's useful to understand how variables are set / when the
Are you setting auto attach to "on" in your user settings? Note that the
Will do for next time, apologies for the confusion 👍
Let's discuss this in #105852
This is a temporary state -- I elaborated a bit more on it in microsoft/vscode-js-debug#732 (comment). Let's continue discussion in that issue.
Sorry, this should have said workspace storage path. |
Oh my. I find this a bit confusing. So if I manualy first set it in user settings you will always write it there, otherwise you would do this in the workspace settings - making the whole repository dirty. I am not a fan of automatic writing in workspace settings... |
I think someone brought that up before. That is existing behavior for that command, but as part of the polish next month I can adjust that. |
Great, thanks. Let me know if you would prefer that I create an issue for that. |
Refs: microsoft/vscode-js-debug#703
Complexity: 5
Create Issue
This month we brought js-debug auto attach back. This includes some behavior changes:
debug.javascript.usePreviewAutoAttach
setting. (defaults to true)node_modules
, excluding some common tools like mocha, ts-node, etc.debug.javascript.autoAttachSmartPattern
debug.javascript.autoAttachFilter
echo $NODE_OPTIONS
/echo $env:NODE_OPTIONS
is not presentAdditional ask: please leave auto attach "On" or "Off" (not disabled) for the remainder of endgame as you go about your business, and let me know if you run into any issues using the terminal or running node scripts.
The text was updated successfully, but these errors were encountered: