Start a new topic

How do I find a JS script in dev tools in the xap editor?

[Mark]


I want to put a breakpoint on my JS, but I can't find it in dev tools.



[Mark]


Note: those components are not in my xap, so I assume they're a part of the xap editor.

[Mark]


bump

bump

Hm, looks like the xapEditor lost it's debug mode (I'll fix that). It should still show up in `api/v1/studios`... though.


You can add `?debug=true` to a standalone xap url then the components will show up with their name and guid in the exaptive domain of the sources. 

I don't see them. 

Oh, that won't work in the xapEditor, only in a standalone xap. I'll need to update the xapEditor. Strange that they aren't any components from the studio in the sources though.

Ah I see. My current strategy is to always do `console.log("init: MyComponentName")` in the init function of the components, and that does the trick, so long as I don't clear the console.

This is what it should look like on the next release:


Login to post a comment