Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is there a way to see the console.log from the watch?

ANSWERED

I have a watch face that works well in the simulator and works somewhat on the device. Do the console.log outputs continue to happen when the app is running on the device? I'm thinking there may be clues in the log output as to why it's not quite working on the watch. Is there a way to see them - maybe from the companion app? I know the only way to get data from the companion to the watch is with messaging, but can it work the other way as well? Request data from the watch from the companion? If the console.log isn't available on the watch, I suppose I could write log entries to a file on the watch and return that in response to a message request from the companion, if that's an option.

 

 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

It will work on the device, as long as the device is connected to the Developer bridge.

 

You can see them in the Studio web app or in the CLI tool. I prefer CLI.

 

But I can't find a way to see them while the watch is not connected to the dev bridge.

View best answer in original post

Best Answer
4 REPLIES 4

console.log works the same on physical hardware as on the sim.

 

Messaging is not the only way to communicate. File transfer is more reliable. Either approach can push data in either direction.

Peter McLennan
Gondwana Software
Best Answer

It will work on the device, as long as the device is connected to the Developer bridge.

 

You can see them in the Studio web app or in the CLI tool. I prefer CLI.

 

But I can't find a way to see them while the watch is not connected to the dev bridge.

Best Answer

You can also see and copy log output from within the Fitbit app for sideloaded apps: in mine, it's 'Logs' at the bottom of the screen for the app.

Peter McLennan
Gondwana Software
Best Answer

Perfect! I never noticed that before. Thanks.

Best Answer