VS Code launch.json saves reselling after debugging

I am using the VS Code debugger to debug my Unity3D project. Each time I run a debugger message, a message appears

Add the attribute "request": "attach" to your configuration.

I click the configuration button (with the cogwheel icon), it opens the “launch.json” file in a text editor, then I add a “request”: “attach” the line to the configuration, starting the debugger - everything works fine. But after I stopped the debugger and try to start it again, I need to do the same thing again, because the string "request": "attach" disappeared for some reason.

Does anyone know how to make VS code not a reset configuration file?

+5
source share

Source: https://habr.com/ru/post/1236461/


All Articles