I think the problem is that in the debug visual studio don't use the normal exeName.
it use indtead "NameApplication".host.exe
so the name of the config file is "NameApplication".host.exe.config and not "NameApplication".exe.config
and after the application close - it return to the back app.config
so if you check the wrong file or you check on the wrong time you will see that nothing changed.