-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Javascript debugger breaks on 1.58 #128400
Comments
First off I suggest updating your Node version. 12.22.3 is the latest 12.x; there were some previous versions in the 12.x which had random freeze issues during debugging, and I think 12.18 was among them. Alternately you could update to 16.x for the very latest and greatest. If that doesn't fix the issue, please try collecting a trace log using these instructions: /jsDebugLogs |
1.58, and node 16.5 REPL broken on debugging over SSH |
1.57.1 still working Can we have a list of things which changed regarding debugging in between 1.57.1 and 1.68 ? |
How it looks on 1.58 for me:
|
REPL console suggestion are also not displayed. Ctrl+space shows |
@connor4312 I uploaded trace to https://microsoft.github.io/vscode-pwa-analyzer/index.html vscode-debugadapter-edb3aba5.json.gz |
@isidorn it looks like in Baybal's case, the evaluate requests are only sent to the root debug session which does not do anything. Was there a change made that caused these to no longer be sent to the child? |
@connor4312 I am not aware of a change that would directly cause this. Though I was on vacation so I might have forgot. |
Sure:
|
Thanks for steps, assigning to July so I try to look into this issue this week. |
I tried to repro this and could not. Here are my steps (following yours). setInterval(() => {
console.log('how is it going')
}, 1000); Start debugging @connor4312 what are you doing differently? Do I do agree that my changes from this issue #125144 might have caused a regression here |
Verification steps:
Put a breakpoint on second line, start debugging hit a breakpoint. |
Issue Type: Bug
After many hours of trying to understand what's going on I have to downgrade and stay on 1.57.1 because if I update to 1.58 my Node.js debugging breaks:
Smart auto-attach stops working but that's just the surface and is not the problem,
If I manually attach the debugger it works until the first pause and then the debug log stops working - it doesn't output or even allow to input anything (even "true" doesn't return anything, in the VS Code's Dev Console I see "Unknown request: evaluate" errors), auto-suggestions don't work either
For some of my projects it doesn't work from the very start
I tried to disable all extensions, it did not change anything,
I've tried reinstalling node from NVM (that I use) to the standalone installer, it didn't change anything, the only thing that helped consistently is downgrading to 1.57.1, and upgrading to 1.58 breaks it as consistently
The Node.js version I use is 12.18.3,
Another thing I've noticed that doesn't work on both 1.57.1 and 1.58 is the process restart button, 1.57.1 doesn't react to it besides clearing the debug log, and 1.58 debug log breaks similar to the aforementioned pausing
Turning off the preview debugger didn't change anything on both versions
VS Code version: Code 1.57.1 (507ce72, 2021-06-17T13:28:07.755Z)
OS version: Windows_NT x64 10.0.18363
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: