Exclude directory and its contents


I am synchronizing a local folder with a folder on the server. I have a subfolder “Debug_Build” which I want to exclude. I opened the dialog “Ignored files editor” and added “Debug_Build/”. The only effect is, that an empty local folder named “Debug_Build” is not created on the server. But as soon as files are created in this folder, everything is copied to the server. I also added “Debug_Build/*” to the exclusion list but it had no effect.
Is there any way to just exclude a subfolder?
I am using Version 5.2.1 (build 10807) under Windows.
Server version


Yes, you do need to use “selective sync”. Just expand the little arrow next to your account in the UI.