Enabling the developer dashboard is very easy. It can be done via stsadm (or Powershell or the OM).
To enable it on demand means, that you will get a small icon at the top right corner next to your user name.
stsadm -o setproperty -pn developer-dashboard -pv OnDemand