thomasboyt / coquette-inspect

A Chrome DevTools extension for inspecting games made with the Coquette framework
29 stars 14 forks source link

Button to log properties to console #17

Open thomasboyt opened 9 years ago

thomasboyt commented 9 years ago

I think this is as easy as sendMessage('logProperty', {entityId: ..., path: ...}) on the UI side, and a console.log on the agent side

thomasboyt commented 9 years ago

bonus UX: Ember Inspector both logs the property and sets $E to it for easy access. they even have a nice little icon for it that could totally be stolen a source of inspiration