When you debug a web part should follow these steps
1.Go to debug menu select attach to process
2.select check box show all processes from all users
3.select check box w3wp.exe processes
4.then click on add button
5.Go to .cs file put it a break point then try to debug the visual webpart.