Closed Sh1d0w closed 6 years ago
From electron docs:
contents.openDevTools([options])
options Object (optional)
mode String - Opens the devtools with specified dock state, can be right, bottom, undocked, detach.
Defaults to last used dock state. In undocked mode it's possible to dock back. In detach mode it's not.
For some reason it does not work if this option is changed in Brave here:
https://github.com/brave/browser-laptop/blob/master/js/components/frame.js#L450
This feature was introduced here:
https://github.com/electron/electron/issues/5094
I wonder if you guys altered this behaviour in your electron fork?
cc @bbondy @bsclifton
I'd love to have this too by the way.
Currently upstream hardcodes detach always for webviews. I'm not sure why but I've tried removing that condition and it didn't work. It would be awesome if you figure out why they did that and a fix though.
@bbondy Here is the response from the issue I've rised with electron guys:
It is not possible with what we have now, in Chromium the webview is implemented as a
browser plugin, and the docked devtools is implemented as native view, there is no
way to mix them up.
Seems like this is not doable unfortunately :(
It's do-able but they just don't plan to support it. Re-opening.
This is the only thing preventing me from switching to Brave for good.
Please support this! Vivaldi has the same problem tho
+1
Hi, Any news on that?
+1
+1
+1
+1
That functionnality should be implemented a long time ago ! +1
This feature is a must have.
+1
Guys, if you want this browser to gain traction enabling developers ease of access is a key. Please please enable this feature.
+1 Yup, just installed and uninstalling. Come on guys, you can do it! We believe in you!
this is on our radar and we'll get someone on it as soon as possible.
@bbondy Can we assign a closer milestone?
Yes, please. This is something really important to many people.
+1 !
+1
+1 must have for me
Pulling up to 1.0- no promises on a date here, but this issue is 100% on our roadmap 😄
This is the main reason why most of the web developers and I are unable to switch to brave, I guess the resolution of this issue is fully dependent on authors of electron.
@rjdp we have diverged from electron with our Muon project. This is on our radar- @bbondy may be able to provide more details (he's working on detachable tabs right now)
+1
Great first impression for Brave. As a web developer this feature would be a big influencer on migrating to permanently. Would love an expected milestone date for it ;)
+1
Can't switch to Brave without this.
Really very important for a migration, I've been using Brave just for a few things ... and not for working.
I am just waiting for this feature before switching to Brave, necessary for web development.
+1 Really wanting this feature because it is really annoying having it in a separate window 🤔
Vivaldi got this feature already
+1 from #8716.
+1
I thought this might have been a hidden feature and came here to find a way to attach the console, but I am very amazed this feature doesn't even exist. Many people who work on laptops don't want to switch between the console output and the web page to debug. This is a critical feature.
@lednhatkhanh Vivaldi got this feature already
I just installed and tried Vivaldi based on your comment and the console is detached just like Brave, and there is no way to attach it. Check the image
How were you able to attach the console?
Oh, i forgot to mention that you have to download the latest snapshot to use this feature, and it's look exacly the same with chrome dev tools
+1
Slimjet has already this feature
Brave Team,
I'm completely onboard with the vision of Brave and love the product you've managed to create thus far. However as a Web Developer I absolutely need this feature to be as productive as I am in Chrome.
I think a major reason why the masses began using Firefox in 2010 was because the majority of developers stood as the vanguard in it's advocacy. Same thing happened during the Chrome migration of ~2012.
IMO Brave needs to appeal to developers for mass adoption to take hold. I'd love to see this feature sooner rather than later.
@arobbins absolutely agree.
Currently, I can only use brave for web surfing and have to use chrome for dev, I would love to just be able to get rid of chrome once and for all.
Not having the ability to attach the developer tools and not being able to use a few dev extensions such as vuejs-devtools without having to spend hours compiling brave has been a big frustration for me.
I never been as excited about a web browser as I have been with brave, I have tried them all. You have built an amazing product so far but I would definitely be more likely to recommend brave to my peers if you were to implement these missing features and give more attention to the developer community feedback and requests.
Attached developer tools and support for Chrome extensions (which is a written goal of the Muon project) is a must for the developers to make the permanent switch to Brave. I'm currently using Brave browser on my phones as day to day, permanent, browser, while using Brave on my laptop (OSX) and desktop (Windows) for regular browsing, development being made on Chrome (with the help of more than 10 extensions, excluding privacy-focused extensions like HTTPs Everywhere, uBlock Origin, WebRTC limiter, Privacy Badger, etc.).
Let us hope that this will be implemented soon enough, or that Muon will put Electron down.
+1 from community: https://community.brave.com/t/docked-inspector-other-improvements/3313
Please someone tell me my mouse's right-click btn is broken, because in Developer Tools, I can't seem to right-click on a DOM element like a div either to edit or delete the node. In short, right-click on the HTML elements has no effect inside the developer tools
Yeah, I talked with @luke.mulks about this yesterday and it is a bug in Brave 😅 Really needs to get fixed, extremely annoying 😬
@samayo Please do not discuss off topic issue, create new issue for that. Thanks
@rahilwazir Well there are 2.1K issues open, I just wanted to verify it here before I create a new issue. This is far from off topic, I was just being considerate.
@samayo No worries! 😉 Right-click in dev tools (issue #6724) is planned to be fixed in 0.18.x.
+1
+1
I wish I could use Brave all day every day but this is stopping me from using it for work, which is the main time I'm browsing
Did you search for similar issues before submitting this one?
Yes
Describe the issue you encountered:
As a web developer which main browser currently is Brave I find using the developer tools (F12) frequently to inspect the webpage HTML and console output. Currently pressing F12 brings up the developer tools as a separate window. Chrome has option to attach the developer tools to the related window or even the tab you are inspecting. Brave does not have that option, making it pain switching between IDE and the browser window if you want to continiously inspect and observe the opened page.
Expected behavior:
Brave should allow attaching the developer tools (F12) in the relevant tab frame that was inspected.
Chrome:
Brave: