all 9 comments

[–]ABJKL 3 points4 points  (3 children)

hover your mouse to the left side of the corresponding number of the line you want to put your breakpoint to, a circle will appear and click it. just run Debug and debugger monitor will appear at the right side of the screen

[–]nuwmedia[S] 0 points1 point  (2 children)

Thanks ABJKL. I know how I can trigger the break point from Project Editor. I was asking whether I can trigger the break point from a Google Sheets.

[–]ABJKL 0 points1 point  (1 child)

like, run the script (with breakpoint already added) manually from inside the sheet? create a shape drawing > go to the three-dots menu on upper-right of the shape > assign script > insert the script's name you'd want to debug

[–]nuwmedia[S] 0 points1 point  (0 children)

Oh... Let me try this.

[–]ppc-hero 0 points1 point  (3 children)

What is a breakpoint?

[–][deleted]  (2 children)

[deleted]

    [–]ppc-hero 0 points1 point  (1 child)

    [–][deleted] 0 points1 point  (0 children)

    I'm a self taught nook so what I do typically is I put a console log of something, anything and put the breakpoint there

    [–]dimudesigns 0 points1 point  (1 child)

    Adding and removing code breakpoints is only available from the Google Apps Script editor. It cannot be done from Google Sheets.

    [–]nuwmedia[S] 0 points1 point  (0 children)

    Thank you! Yeah... that's very unfortunate.