I want to build a debug version of discourse

I want to build a debug version of discourse, which doesn’t uglify the javascript and others. So how can I do it?

These links will help you

Install Discourse on macOS for development

Install Discourse on Ubuntu or Debian for Development

(Superseded) Set up a development environment using Vagrant on Ubuntud