08-24-2018 21:45
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
08-24-2018 21:45
Unless I've installed it wrongly (which is quite possible; it didn't go smoothly), the CLI reports runtime line numbers against the minified and transpiled code, rather than against the original source code. This makes debugging difficult because even the file names are not necessarily relevant.
Best Answer08-27-2018 21:30
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
08-27-2018 21:30
Is anyone else suffering from this problem?
It's easy to test:create an index.js something like this:
console.log("line 10");For me, the CLI log reports that the message is written at line 2, rather than 10. This is because it's reporting against the minified code. The problem is worse if 'import' is used, because all files are rolled into index.js.
Best Answer08-28-2018 01:53
08-28-2018 01:53
That is (was?) the case in the Fibit Studio too, I don't know if it was every fixed.
Best Answer