04-24-2020 10:35
04-24-2020 10:35
Hi,
I'm trying to use the debugger in VS code at first it gave errors about the imports. Now I launch the debugger in experimental mode but it still doesn't work it gives the error: "Error: Cannot find package 'user-settings' imported from C:\usingwords\Using-words\app\index.js" I did various NPM installs but it still gives this error. Anyone got an idea?
Kind regards, Robert
Answered! Go to the Best Answer.
Best Answer04-25-2020 14:15 - edited 04-25-2020 14:17
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
04-25-2020 14:15 - edited 04-25-2020 14:17
@FitRobertUnfortunately, you understand correctly. 😉
console.log() is pretty much it.
When you use VS Code debugging with a browser, the browser (or a plugin) has hooks for debug communications. Same when you debug, eg, php (xdebug).
Best Answer04-24-2020 13:53
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
04-24-2020 13:53
I don't think that sort of debugging is possible. It would require the runtime environment to support the VS code debugging API (eg, to support code stepping, inspection, etc), but it doesn't.
Best Answer04-25-2020 02:47
04-25-2020 02:47
@Gondwana So if i understand you correctly Fitbit OS must support the debugging also? Is there another debug possibility besides using the console.log()?
Best Answer04-25-2020 14:15 - edited 04-25-2020 14:17
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
04-25-2020 14:15 - edited 04-25-2020 14:17
@FitRobertUnfortunately, you understand correctly. 😉
console.log() is pretty much it.
When you use VS Code debugging with a browser, the browser (or a plugin) has hooks for debug communications. Same when you debug, eg, php (xdebug).
Best Answer