Edit Debug Console Font Size and Colour

How can I edit the font size and colour in the Corona debug console? The font is very small on my monitor.

Not sure but what kind of monitor are you using?  :slight_smile:

I’m on a 27inch 2560x1440 screen without issues.

Are you on a Mac or Windows?

Mac.

Well it’s kind of moot point… I just checked Windows and it doesn’t have a way to control the font size, so the answer is no in both cases. I’m curious as to why its small. On my 2560x1080 screen, the font is a good size, maybe a bit large. 

What mac are you using? Is it a retina MBP?  Can you maybe make a screen shot showing the text in the console with maybe a web browser over top showing a font that’s a good size for you?

Thanks

Rob

It’s an Apple thunderbolt 27" screen 2560 wide. I’d like it to be like the blue text on the right. 

Thought there might be a file somewhere with font sizes and colours that I could edit.

I’ll ask.

And I got an answer.  This is Mac only. It does not work on Windows.

  1. Open the folder: ~/Library/Application\ Support/Corona/Simulator/

  2. If there is not a folder named “Themes” make a new folder (‘mkdir Themes’ from the command line or CMD-Click New Folder from Finder)

  3. Change to the theme directory.

  4. Create a file named whatever you want that makes sense like “My Custom Theme.json”. It has to be a JSON File.

  5. Paste these contents in to start with:

    { “console”: { “fontSize”: 17, “fontName”: “Fantasque Sans Mono”, “errorBgColor”: “#FB1910”, “errorFgColor”: “#FCD208”, “textBgColor”: “#2E2E2E”, “textFgColor”: “#F47E20”, “timestampBgColor”: “#2E2E2E”, “timestampFgColor”: “#C0C0C1”, “warningBgColor”: “#DDED6924”, “warningFgColor”: “#303030”, } }

Adjust the colors to your taste, include a monospaced font of your choice (I like Consolas) and set the font size. You must provide all of the various colors, it does not default to the default colors.

and save the file.

  1. Go to the console window and click on the Gear icon in the bottom left of the window. In the theme selector pull down your theme should now show up.

Rob

Perfect, thanks very much!

Not sure but what kind of monitor are you using?  :slight_smile:

I’m on a 27inch 2560x1440 screen without issues.

Are you on a Mac or Windows?

Mac.

Well it’s kind of moot point… I just checked Windows and it doesn’t have a way to control the font size, so the answer is no in both cases. I’m curious as to why its small. On my 2560x1080 screen, the font is a good size, maybe a bit large. 

What mac are you using? Is it a retina MBP?  Can you maybe make a screen shot showing the text in the console with maybe a web browser over top showing a font that’s a good size for you?

Thanks

Rob

It’s an Apple thunderbolt 27" screen 2560 wide. I’d like it to be like the blue text on the right. 

Thought there might be a file somewhere with font sizes and colours that I could edit.

I’ll ask.

And I got an answer.  This is Mac only. It does not work on Windows.

  1. Open the folder: ~/Library/Application\ Support/Corona/Simulator/

  2. If there is not a folder named “Themes” make a new folder (‘mkdir Themes’ from the command line or CMD-Click New Folder from Finder)

  3. Change to the theme directory.

  4. Create a file named whatever you want that makes sense like “My Custom Theme.json”. It has to be a JSON File.

  5. Paste these contents in to start with:

    { “console”: { “fontSize”: 17, “fontName”: “Fantasque Sans Mono”, “errorBgColor”: “#FB1910”, “errorFgColor”: “#FCD208”, “textBgColor”: “#2E2E2E”, “textFgColor”: “#F47E20”, “timestampBgColor”: “#2E2E2E”, “timestampFgColor”: “#C0C0C1”, “warningBgColor”: “#DDED6924”, “warningFgColor”: “#303030”, } }

Adjust the colors to your taste, include a monospaced font of your choice (I like Consolas) and set the font size. You must provide all of the various colors, it does not default to the default colors.

and save the file.

  1. Go to the console window and click on the Gear icon in the bottom left of the window. In the theme selector pull down your theme should now show up.

Rob

Perfect, thanks very much!