Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 588
Mehdi Avatar asked Jan 31 '17 01:01

Mehdi


2 Answers

Firefox Developer version(v70) has multiline console which can be activated with ctrl+b (on linux at least, I havent found the shortcut in the offical docs). So this will soon show up in mainline FF i guess.

like image 175
sos Avatar answered Oct 03 '22 04:10

sos


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.

like image 31
Aakash Avatar answered Oct 03 '22 03:10

Aakash