Implement mobile debugging support with Eruda#176
Open
Tringlyman wants to merge 1 commit intoPenguinMod:developfrom
Open
Implement mobile debugging support with Eruda#176Tringlyman wants to merge 1 commit intoPenguinMod:developfrom
Tringlyman wants to merge 1 commit intoPenguinMod:developfrom
Conversation
Add method to enable mobile debugging with Eruda.
Member
|
doesn't work (you cant do backspace) |
Author
If you used it while on a computer then of course it won't work properly It's point is to be used when on mobile and then remove it in production as it's only for development purposes on mobile |
Member
|
i tried it on another site on pc and backspace did work so your low-key wrong |
Author
Just remember that you're not supposed to use it in production but only development and only if you develop extensions either in general or at the moment on a mobile device because you don't or can't use a computer so you can see for errors and test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add method to enable mobile debugging with Eruda.
Proposed Changes
It resolves the issue of mobile extension development being more limited because it lacks dev tools by adding a development function in
ScratchcalledenableErudawhich adds eruda in the website which is a replacement of dev tools provided by the browser in computersReason for Changes
Because as said above, it allows testing extensions in mobile to the max because it gives a dev tool alternative that isn't exclusively available on computers as it's provided through a HTML script
Test Covera
I didn't add test in the repo but if you add
On top (very top but inside) of the self invoking function or above (outside) it then run the function in the self invoking function then you will see it works