bruno icon indicating copy to clipboard operation
bruno copied to clipboard

It's difficult to find how to open web console in Bruno v0.20.0

Open lared opened this issue 2 years ago • 11 comments

Affected version: Bruno v0.20.0, electron

Version 0.18.0 (and 19):

Version 0.20.0:

It's very unintuitive for me that I need to press alt to see the menu, especially since it's the only place from which I can access developer tools to debug my poorly written script (if I don't remember the keyboard shortcut anyway, which I dont)

lared avatar Oct 06 '23 20:10 lared

It's very unintuitive for me that I need to press alt to see

100%

I expected this. This got introduced in this PR:https://github.com/usebruno/bruno/pull/393#issuecomment-1749117914

to debug my poorly written script

You're being too modest again :P If you are on linkedin, would love to connect with you. I am here

Here are my thoughts.

  1. Bring this back for now in v0.21.0 that I plan to ship in an hour.

  2. Work on a new PR that allows a user to hide the menubar via app preferences

  3. Add another option called Devtools here

image

What do you think?

helloanoop avatar Oct 06 '23 21:10 helloanoop

I think this is a great plan, thank you!

lared avatar Oct 06 '23 21:10 lared

It's very unintuitive for me that I need to press alt to see

100%

IMHO this a widely spread behaviour these days ¯\_(ツ)_/¯

like the plan though 👍

DaPutzy avatar Oct 06 '23 21:10 DaPutzy

Bring this back for now in v0.21.0 that I plan to ship in an hour.

Shipped in v0.21.0

Remaining 2. Work on a new PR that allows a user to hide the menubar via app preferences 3. Add another option called Devtools

helloanoop avatar Oct 06 '23 23:10 helloanoop

I'm very sad to figure out that this is behind a paywall, I was eventually getting the Golden Version, but I have trouble to recommend it. DevTools are too essential! -.-

martin-braun avatar May 01 '24 15:05 martin-braun

I'm very sad to figure out that this is behind a paywall, I was eventually getting the Golden Version, but I have trouble to recommend it. DevTools are too essential! -.-

@martin-braun I think you mean the Browser DevTools, they are not locked behind the golden edition. You can Open them with Ctrl + Alt + I or by clicking on the 3 dots in the top left corner.

The DevTools that are locked behind the Golden Edition include things like: A base64 encoder, JSON to YML...


Also @helloanoop this Issue can probably be closed.

Its-treason avatar May 01 '24 17:05 Its-treason

@Its-treason Nop, I was referring to the Bruno DevTools, that would allow you to debug scripts properly. I kinda had to build an echo endpoint that just echos back my request in order to debug my scripts in Bruno. So painful and such a disappointment.

martin-braun avatar May 04 '24 02:05 martin-braun

I was referring to the Bruno DevTools, that would allow you to debug scripts properly.

@martin-braun How would Bruno DevTools help in debugging scripts? You are likely looking for chrome devtools which is available in the opensource edition.

helloanoop avatar May 06 '24 15:05 helloanoop

@helloanoop variable resolution? console.logging my variables? My current understanding is that the DevConsole is for the Electron app and doesn't allow me to access the context of my pre and post scripts. Please correct me if I'm wrong.

martin-braun avatar May 06 '24 20:05 martin-braun

@martin-braun You can add console logs to your scripts and have their values logged in the Chrome DevTools console tab like the example below. Is this what you're looking for?

script_variable_console_logging

lohit-bruno avatar May 07 '24 04:05 lohit-bruno

you can see PR https://github.com/usebruno/bruno/pull/1789/ its provider one way to configure autohidemenu.

rodrigopmatias avatar Aug 07 '24 19:08 rodrigopmatias