39

As part of our build the code is minimised I'm currently debugging some js and constantly have to click the pretty print button in chrome dev tools. Is there a way to permanently enable pretty printing in chrome dev tools ?

wmitchell
  • 5,665
  • 10
  • 37
  • 62

2 Answers2

38

Yes!

This has become available:

In Dev Tools:  > Settings (F1) > Experiments > Automatically pretty print in the Sources Panel.

Sameer Alibhai
  • 3,092
  • 4
  • 36
  • 36
Matt
  • 481
  • 4
  • 10
1

No it is not possible yet. The way that I do is that I manage it through the build process to not minify the CSS and JS.

Kinlan
  • 16,315
  • 5
  • 56
  • 88