A war with Pakistan will be playing in Pakistan's hands, Pakistan doesn't have any economy and after a war India would neither and we will be in a very bad postion and whole decade could be lost since we have China too on the eastern side. We should avoid having an economy where we can't sustain a two front war.
In my personal opinion, we have to improve our economy for 10-15 more years and heavily invest in technology which is what we are doing right now. We can threaten to destroy Chinese infrastructure in POK( in a very short time aka limited war), 100 billion dollar CPEC down the drain. This way we can pressurise China to force Pakistan to stop supporting terrorists. CPEC gives investment to Pakistan but also gives us a bargaining chip