I keep getting `Debugging connection was closed. R...
# suitescript
e
I keep getting
Debugging connection was closed. Reason: WebSocket disconnected
I can step trough some of the code, but after a while it gives me this error. Reconnecting does not help. Anyone seen this issue before? The code is 2.1
b
thats normal for when your script ends
check the console
e
Ahh. So adding a break-point at the end will keep the debugger open?
b
depends on where the script is actually returning
for example an error would make a script return early before the end
👍 1