Debugging Custom JS

Hey,

is there a way to Debug the Custom Javascript through the Browser? With the Forms Designer this was possible.
Now you only get message what the error is. This is totally fine for now but it would be cool if you could debug the script.
Maybe I just overlooked it but i can’t find it in my sources.

Thanks in advance

Josh