VSCode IDE automatically generate of launch.json every time

Hi, I noticed that VSCode PlatformIO IDE extension is automatically generating the same launch.json file every time I open the PlatformIO project. This is quite troublesome because it replaces some custom configurations.
Is there a way to disable this behaviour?

This is quite urgent. Any help would be appreciated. Thanks!


I dont think this is a complete solution as the launch.json is about debug configurations and NOT autocomplete.
I think that one generated the launch.json file should be left alone. It is a part of VSCODE not PIO.


Is there any new knowledge about where exactly this re-write event happens so that I can stop it?

Open an issue / feature request at Issues · platformio/platformio-core · GitHub, it’s a better place for that question.