When was the SS 2.1 debugger enabled/introduced?
# suitescript
e
When was the SS 2.1 debugger enabled/introduced?
b
last week it popped up
e
it was a nice surprise
c
console.log and log.debug is all you're gonna need girl grin
k
Haha
b
im sad that the built in debugger is bad enough for those to be reasonable options
c
I was being like 50% sarcastic. I've only ever used the debugger maybe twice in the past 5 years as its terrible.
e
I'm happy with the debugger for 2.1 being devtools but for previous, yeah
c
i want to look into the new one.. maybe its better
s
same here- I loathe the original NS debugger. How do you access this 'new' one?
e
I debugged an existing suitelet
brings up devtools in a new tab
message has been deleted
I had forgotten this script was 2.1 when I attempted it lol
b
i shall be impressed when i can connect via a browser or ide via a remote debugger
s
so this still needs running the whole thing from that separate 'debugger' domain or no?
e
yeah
s
I have to agree with @battk - when I can just click a breakpoint in my editor window in webstorm i'll be impressed (a la debugging capability we had back in the early 90's).
1000000 1
e
I don't disagree. This was a pleasant surprise to what I'm used to seeing. Although I don't use the debugger much, sometimes it helps me
m
OMG! Been waiting for this for years
I wonder if this will support debugging with source maps for typescript etc
r
Still waiting for the debugger to support mr scripts
m
@rustyshackles you can create a suitelet that imports your map reduce module and calls the entry points with test data. I believe @mattdahse has examples in his book
w
What a sneaky launch. Have you got it to work with an existing UE script? The script doesn't appear in the list but if I press the debug button on the script deployment it waits for an action. Opening a record to trigger the action doesn't start the debugging and the page load get stuck.
m
Just tried with a suitelet so far. Did you get the devtools page to pop up already? I got stuck for a little figuring that out until I realised the browser was blocking popups
w
No, I didn't. Maybe that's it.
m
Check on the right side of the url bar if there's a notification for blocked popup
w
The debugger window seems to realize that it got triggered, but I don't see any popup-blocking notifications..hmm
nope.
If I enter code in the debugger window and run it, the window pops up. Maybe it's not ready for UE scripts yet.
m
That's possible. They used to have documentation, but it looks like it's been removed
a
Hi all, thanks for trying out the debugger. At this time you can debug Suitelets, Scheduled Scripts or scripts on-demand. Documentation is up: https://nlcorp.app.netsuite.com/app/help/helpcenter.nl?fid=section_157625775882.html Stay tuned for updates on the debugger in our upcoming/future release previews and webinars for official communication.
👍 3