Search code examples
firefoxcommand-linefirefox-developer-tools

How to activate multi-line command line in Firefox DevTools?


Firefox DevTools console

How to make the console of the Firefox DevTools multi-line? I am aware of the Shift+Enter keyboard shortcut, which makes the command line go to the next line. Though like in Firebug, I want to vertically separate my console into command line and results part, but I can not find that functionality.


Solution

  • You can try the scratchpad. Go to Settings >> Available Toolbox Buttons and check the box for scratchpad. Refer the screenshot:

    enter image description here

    Once done, you'll have a notepad-like icon in your developer console navigation bar on the right side...enter image description here. Click on it and it will open a scratch pad on which you can write code and execute...

    enter image description here

    Good Luck.