log-and-return READMEConverts your javascript function return statements into a statement that will first log, then return the value. Useful for debugging! FeaturesTurns
into
You can make this happen by simply running the command with your cursor anywhere on the return statement line, or by selecting the return statement. In order to work with multi-line return statements, you must select the whole statement. 1.0.0Initial release of log-and-return. |