Introduction:
I’m building a multi-phase contractor dashboard in Google Apps Script using a custom HTML frontend and doGet(e) routing. The form UI loads in three sequential phases (?page=1, ?page=2, ?page=3), and each phase is served by the same doGet(e) function using an if/else switch on e.parameter.page.
The issue:
?page=1 loads perfectly. However, when navigating to ?page=2, the app freezes with a blank page, and no error appears in the Execution Log. No doGet(e) execution is triggered, which leads me to suspect:
Either a client-side blocking bug in the Phase 1 HTML,
Or that a server-side error is failing silently in Apps Script.
Despite console debugging and test logging, no entry shows in the Executions log for the second page load.
What we’ve tried:
Verified that the navigation links are valid.
Used
Logger.log()andconsole.log()to trace phase entry points.Checked HTML and JS for missing form elements or syntax errors.
Deployed a test version with minimal HTML to isolate where the error might occur.
Question:
How can I debug Apps Script doGet routing when nothing appears in the Execution Log?
Also, are there known conditions (like malformed HTML or JS errors) that can prevent doGet() from firing at all?