Jump to content
Sim

JavaScript Display errors on Android Mobile

Recommended Posts

I can't seem to get my JavaScript errors to display on Google chrome or Microsoft edge while on mobile devices. Anyone know how to or recommend a browser for debugging.

Share this post


Link to post
Share on other sites
1 hour ago, Magictallguy said:

Yes, a desktop PC

That is not possible at this time. Anyone got a real solution?

Share this post


Link to post
Share on other sites

I haven't tested this or anything, but I think the below will work:

window.onerror = function(msg, url, linenumber) {
    alert('Error message: '+msg+'\nURL: '+url+'\nLine Number: '+linenumber);
    return true;
}
  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, Sim said:

That is not possible at this time. Anyone got a real solution?

Yes, a laptop 😛

Share this post


Link to post
Share on other sites
Posted (edited)

Anyone with a real answer to this question that I find serious want to reply.[

11 minutes ago, Magictallguy said:

Yes, a laptop 😛

Second answer with smart ass remarks. And what makes it even worst is your an Administrator representing MakeWebGames.  @Dave

Quote

@Magictallguy

How about stop being a young me and drop the attitude; it ain't gonna help you in this world

Edited by Sim
  • Haha 2

Share this post


Link to post
Share on other sites

You've misunderstood a joke and taken it as attitude, then a position check. Nice. I'm sooo inclined to actually help you now.

 

Back when I was coding on a phone, I used Droid-Edit. It allowed console access for locally-running scripts.
Failing that, head to about:debug in a Chromium-based Android browser to access console output

  • Haha 1

Share this post


Link to post
Share on other sites

Joke or not, I googled this last night for two hours and unable to do any further coding while you here having a good time joking around about something that is not a joking matter to whatsoever. 

You bet your ass, I find no humor in your slick ass comments.

 

I read about about: debug. It keeps redirecting me to chrome: about page not found

  • Haha 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...