Running the xdebug (PHP) devsense extension in vscode on mac:
Version: 1.88.1 (Universal)
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:42:52.765Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0
Exstention Devsense PHP: v1.45.15272

I see the debugging adornments flickering behind the code.
One moment it shows them, the next second they are gone, then they appear again. This keeps going until I turn of the debugger.

For now I solved it by setting debug.inlineValues to off.

The flickering is annoying, but most of all it makes setting new breakpoints, or removing old ones hard.
The debugging adornments makes the code shift down and up as they appear and disappear.

Does anyone else have this issue? and how to solve this so the debugging adornments are just shown and only updated as you step trough with the debugger?

    Thank you for sharing the issue with us.

    I'm attaching a gif with a regular stepping through the code, and the flickering that I have:

    Interestingly, sometimes VSCode does not refresh the adornment, sometimes it does. I'll ask others if there's something we can do.

      I will confirm I have a similar issue and wondering if it is because I already had XDebug turned on using MAMP then installed Devsense Plugin and it all just kept working but the flickering started. I can confirm if I do command plus the - sign and zoom out the view to make all the adournments not wrap to a second line the flickering goes away all together but in some instances that makes my code very tiny for these 52 year old eyes! 😂

      Love the plugin overall though!!!

        20 days later

        Menfou I see,

        It seems this is a design issue in VSCode itself when having word wrap enabled.

          Write a Reply...