Usually debug SQL, using Profiler used to, but now with a machine does not have Profiler installed, and tried to install again, add new features, but no profiler options, recently debugging really can not bear to see the code logic debugging, so the internet search, found a solution, put here, As an alternative:
In the case of a SQL Server installation package, use the command line to enter the directory where the Setup.exe is located, executing:
setup.exe/features=tools/q /indicateprogress /action=install/instancename=sqlserver2008r2ent/ Browsersvcstartuptype=automatic/agtsvcaccount= "NT authority\network SERVICE" /iacceptsqlserverlicenseterms
where instancename replaced with the SQL Server instance name you installed, referenced from: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/ 4808224c-1adb-4e43-8ae8-c45aba48abb1/stumped-how-do-you-install-sql-profiler?forum=sqlsetupandupgrade
SQL Server Profiler Installation