Shima_Max Posted September 7, 2018 Share Posted September 7, 2018 Hi guys, I'm trying to run demo game (tic tac toe). But something is going wrong. I uploaded server part on the Heroku, Client on the facebook, but when I'm trying to run game, gameplay doesn't load, only squares. How to debug errors, or how to set up this app? Quote Link to comment Share on other sites More sharing options...
Noel Posted September 10, 2018 Share Posted September 10, 2018 Hi @Shima_Max, the debug tools in Chrome should work fine. Quote Link to comment Share on other sites More sharing options...
pingu Posted September 10, 2018 Share Posted September 10, 2018 It would have been nice to debug games when they run on the Messenger app on the phone because I've had some phone specific issues, but there is really no way I know of. Even console.log won't be of help. It's probably hard to setup something that allows this kind of debugging, which I understand. Quote Link to comment Share on other sites More sharing options...
Noel Posted September 11, 2018 Share Posted September 11, 2018 @pingu, you can use FBInstant.logEvent if and consult the logs in the Analytics section of the game though. pingu 1 Quote Link to comment Share on other sites More sharing options...
o0Corps0o Posted September 11, 2018 Share Posted September 11, 2018 I have recently added an extra DIV which will output error messages over the top of the game, its ugly, but its just for debugging helps when on the phone. Shahdee and pingu 1 1 Quote Link to comment Share on other sites More sharing options...
Greeny Posted September 19, 2018 Share Posted September 19, 2018 About in-Messenger debug: recently I was told, that I can use Chrome remote debugging tool for this (https://developers.google.com/web/tools/chrome-devtools/remote-debugging/). Like it should work with test builds (you need to create test app at developers.facebook). But I had no luck with it and couldn't run it - phone's webView is still invisible for my desktop Chrome devtools. Had to continue debug with ugly ways just like @o0Corps0o's Shahdee 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.