web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to debug the Javas...
Power Automate
Unanswered

How to debug the Javascript in the Run JavaScript Action

(0) ShareShare
ReportReport
Posted on by 32

I've created a flow for automating updating inputs on a web page. The heavy lifting of this is via a Run JavaScript Function on a Web Page. I see you can put a breakpoint on the Action within the flow, but that doesn't allow you to "break into" the JavaScript and debug it. How can you debug the actual javascript itself without having to put in a bunch of Alert("Debug Message")?

  • VJR Profile Picture
    7,635 on at

    Hi @Chadillac 

    You will have to use any of the online debuggers or the browser's debugging capability which is something like- https://javascript.info/debugging-chrome

     

  • Chadillac Profile Picture
    32 on at

    @VJR yes, I use Chrome's dev tools for debugging all the time, but I could not find the PAD js source within that tool. 

     

    Could you share a screenshot of how to find the PAD js script in the Sources tab in Chrome dev tools?

  • VJR Profile Picture
    7,635 on at

    I think I now better understanding what you were trying to ask. So, no the JS from PAD cannot be visible there.

    Haven't had to debug a JS before except by using Alert boxes :).

    But just wanting to know does it work when you put the JS from PAD onto the Chrome debugger editor?

     

    Taken from the example in the link shared above.

    VJR_0-1669001695501.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard