timestampで値を挟むprintデバッグ

Rails

Rails.logger.info(Time.now)
Rails.logger.info(Time.now)
Rails.logger.info(debug_val)
Rails.logger.info(Time.now)
Rails.logger.info(Time.now)

JavaScript

console.log(
  new Date().getHours().toString() + new Date().getMinutes().toString()
);
console.log(
  new Date().getHours().toString() + new Date().getMinutes().toString()
);
console.log(debugVal);
console.log(
  new Date().getHours().toString() + new Date().getMinutes().toString()
);
console.log(
  new Date().getHours().toString() + new Date().getMinutes().toString()
);