https://netsuiteprofessionals.com logo
e

Eystein Bye

05/06/2022, 10:02 AM
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

battk

05/06/2022, 10:08 AM
thats normal for when your script ends
check the console
e

Eystein Bye

05/06/2022, 10:49 AM
Ahh. So adding a break-point at the end will keep the debugger open?
b

battk

05/06/2022, 10:54 AM
depends on where the script is actually returning
for example an error would make a script return early before the end
👍 1