I had already added obj/Debug to .gitignore, however, files in this path are still in file list that to be committed

If you want to ignore obj/Debug dir, which should be confirmed first is obj/Debug is not already under version control. So.

git rm -r --cached obj/Debug