Code Monkey home page Code Monkey logo

Comments (7)

mac-cain13 avatar mac-cain13 commented on June 16, 2024

Hi Steve,

First of thanks for the idea, great to hear you're using the extension and awesome you take the time the post this here!

I'm wondering if you're aware of the shortcut Command+Shift+X / Ctrl+Shift+X to open the debug menu. After that you can hit "d" to debug or "s" to stop debugging. Is that a good solution for you? I realize it's still two key-combo's to hit, but might be faster to toggle debugging on/off.
Note that you can change the shortcut to whatever you want in Settings -> Extensions -> Shortcuts/Hotkeys (lower right of the window).

If you think double clicking is still a better option I would consider adding the feature if we can implement it without to many hacks/workarounds. Maybe an hotkey to instantly toggle to a certain state would be even better.

Let me know what your thoughts are!

from xdebug-helper-for-chrome.

ElijahLynn avatar ElijahLynn commented on June 16, 2024

How about in addition to what is already available we have a ctrl/command+shift+alt+X option to toggle the debug state (d & s). I have been using the default shortcut for a while now and while it is good I think the above could be much better.

from xdebug-helper-for-chrome.

mac-cain13 avatar mac-cain13 commented on June 16, 2024

Thanks for your feedback @ElijahLynn! Do I understand you correct that you want the hotkey with alt to toggle between debug and do nothing? So the advantage would be that you don't have to go through the menu evertime you want to toggle the state.

Interesting suggestion!

from xdebug-helper-for-chrome.

ElijahLynn avatar ElijahLynn commented on June 16, 2024

@mac-cain13 Yes, that is exactly what I want. I was coming here yesterday to post that feature request but hijacked this issue once I saw it ;)

The fastest way to toggle is what I am looking for. There is probably a Function key that would be faster but I thought shift+ctrl+alt+x would least likely cause conflicts across all OSes and it is fairly easy to remember.

Cheers

from xdebug-helper-for-chrome.

mac-cain13 avatar mac-cain13 commented on June 16, 2024

And this is now available in version 1.4.0, I just uploaded this brand new version the Chrome Webstore. It should be with you in a few hours.
The toggle is Alt+Shift+X, because the Ctrl+Alt combo can't be used in extensions. Let me know if there are any problems/ideas that come up with this new version.

Thanks for the input and feedback!

from xdebug-helper-for-chrome.

ElijahLynn avatar ElijahLynn commented on June 16, 2024

Very cool!! I like how seamless Chrome extensions updated. By the time I read this I just tried the shortcut and it just works!!

from xdebug-helper-for-chrome.

mac-cain13 avatar mac-cain13 commented on June 16, 2024

Chrome and Chrome extension updates are quite amazing and seamless indeed. :) Enjoy the new shortcut and let me know if you can think of any other improvements!

from xdebug-helper-for-chrome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.