Comments (7)
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.
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.
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.
@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.
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.
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.
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)
- Handling the cases when `document.cookie` is not available
- xdebug
- Feature: Automatically turn on/off by pinging the debugger
- file:// protocol
- iDE_Key for VSCODE? HOT 3
- Allow custom domain extensions
- Safari port
- Drop Material Icons CSS and embed SVGs
- Debugger widget enables itself on each load HOT 4
- "Simple mode" idea HOT 1
- XDEBUG_TRIGGER support HOT 3
- Debugger disables itself HOT 1
- Icon and status mismatch HOT 1
- Option to disable or change keyboard shortcut to activate XDebug Helper extension
- Option to provide the GET arg version of the session key, instead of the cookie?
- Dependency internet - please remove it.
- Ide specific key conf is ignored for everything but "debug" HOT 3
- Custom menu item
- Single Click Icon HOT 1
- Add option to disable Hotkeys HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xdebug-helper-for-chrome.