I am a bit new to CI (Continuous Integration)/CD (Continuous Delivery) topics. I am currently using TFS for CI and CD. There I found there are a lot of custom build process (eg. Running certain powershell scripts, copy files, etc). In my solution, there are a lot of branches that is developed by various developers at the same time. I am using Git as Version Control as well.
The problem : I have seek advice from some of my team members for debugging their projects in local development environment as I have been moving between topics from time to time. And what they suggested is to manually repeat the whole build process manually for my debugging purpose which somehow i feel tedious and unproductive in a way because there are a lot of steps I need to replicate here and there.
My question: Is there a way which can simplify all these tedious process? Maybe creating a build branch in GIT helps? But creating another build branch also may have it's own risks where you need double effort to sync the build process between the build server and the build branch that you created?
I'm not sure what's the best way to go here and requires some guidance or links that are related to this problem.
Thank you.