First, I build unreal engine and the project and run them from VS2022 in debug mode successfully.
Then, I close the editor,and do not change any character code.
Next, I run editor again from VS2022 in debug mode. It decide to build Editor and ShaderCompileWorker with about 3000 build action.
Is there a specific reason you need to run the editor in debug mode?
The workaround would be to set Unreal Engine files (in Source/Plugins folders) as read-only in filesystem.