https://kotlinlang.org logo
#compose-web
Title
# compose-web
m

martmists

09/09/2023, 2:54 PM
What tools are available for debugging Compose Web? My code seems to be crashing but I can't figure out why, as nothing shows in the console
k

Kapil Yadav

09/09/2023, 2:59 PM
console.log() you can do that, a basic way to debugging.
m

martmists

09/09/2023, 3:19 PM
Does println and Exception.printStackTrace not bind to console.log? because those aren't working additionally, exceptions are not logged I can't seem to find any kind of compose UI inspector or something along those lines either
c

Chris Sinco [G]

09/09/2023, 5:36 PM
Println should show up in Chrome Dev Tools console. You can also check the Run window in IntelliJ to see if it’s crashing before launch
6 Views