Fuse debugging

In the web app world I’m often using Chrome developer tools. The first thing I needed to check in Fuse was what the object sent to me when clicking on a button in an Each list of buttons contained but the Fuse output only gave me Fuse.Scripting.Juraasic.Object but easy to fix:

console.log(JSON.stringify(sender));

Any plans for more advanced debugging tools for debugging Fuse apps?

Yes indeed :slight_smile:

We are working on this right now, JS debugging for iOS will roll out very soon, other platforms will follow shortly.

Debugging will be done using standard web debuggers such as Safari Web Inspector, connecting live to the device.

Is this already out? It’s so painful to debug just using the Monitor (simulator)

Yes, it has been out for a long long time: https://www.fusetools.com/docs/scripting/debugging

Sorry for not updating this post

Hi Anders, sorry, i meant chrome debugging. That page doesn’t mention anything about Chrome debuging at all. Will definitely give VSC a try, but I’d hate to install yet another software on my Machine just for debugging :stuck_out_tongue:

I would also love to debug with chrome devtools

I just looked into this.

Since we’re using the vanilla V8 debugger protocol in Fuse, it might be possible for someone with a little Chrome Devtools know-how to make a wrapper for Fuse. It looks like someone has done that for Node.js, and something similar should work for Fuse. Doing this is not currently in our roadmap since there are already ways to debug apps, but I’d be glad to help out in any way I can if someone wants to have a go at it.

Olle Fredriksson wrote:

I just looked into this.

Since we’re using the vanilla V8 debugger protocol in Fuse, it might be possible for someone with a little Chrome Devtools know-how to make a wrapper for Fuse. It looks like someone has done that for Node.js, and something similar should work for Fuse. Doing this is not currently in our roadmap since there are already ways to debug apps, but I’d be glad to help out in any way I can if someone wants to have a go at it.

THanks Olle,

At least it’s good to know there’s a possibility. If I had the know-how I would definitely contribute this functionality to the Fuse community.

Cheers