Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested answer

RESCO OfflineHtml: Unable to Debug the Javascript code

(0) ShareShare
ReportReport
Posted on by 95

Hi All,

I am unable to debug the Javascript code in RESCO. I followed the given link - https://docs.resco.net/wiki/Debugging_offline_HTML

Steps Followed -

1) Wrote the code in Visual Studio and placed debugger; at the first line.

pastedimage1597554488986v3.png

2) Attached To Process "MobileCrm.exe"

pastedimage1597554212773v1.png

3) Enabled debugging in Internet Explorer -

pastedimage1597554278995v2.png

4) Opened the RESCO App -> Opened the Form where the html is placed..but still it does not go into Visual Studio for debugging.

Kindly provide suggestions if i have missed any step.

Thanks in Advance

  • Henrik Bo Profile Picture
    Henrik Bo 25 on at
    RE: RESCO OfflineHtml: Unable to Debug the Javascript code

    If you read at the bottom of Debugging offline HTML - Resco's Wiki there is a section for Change local copy of offline HTML files

  • Rokon J Profile Picture
    Rokon J 25 on at
    RE: RESCO OfflineHtml: Unable to Debug the Javascript code

    This works but every time you have to publish the js/html on woodford which takes 2-5 min and then you got to sync the resco/FieldServiceMobile app (2-3 minutes).

  • Suggested answer
    crm_fan Profile Picture
    crm_fan 95 on at
    RE: RESCO OfflineHtml: Unable to Debug the Javascript code

    Hi All,

    So finally i am able to debug the code, unfortunately still not able to achieve it with visual studio but found the other way around. Posting it to help others.

    For debugging purpose,  i place=d my code inside a button click instead of onload and downloaded "Microsoft Edge Preview Tools".

    1) Open the Resco App, Navigate to the page which has the offline html

    2) Open  "Microsoft Edge Preview Tools", it will display all the html files from RESCO App. Click on the one to be debugged.

    3) It will open Edge Developer Window, Navigate to the file required in Debugging Tab, Place the debugging points

    4) Now go to RESCo App and click on the button in your html file, it will open the file in debugging mode in Edge Developer tool.

    pastedimage1598150731093v1.png

    pastedimage1598150774112v2.png

    Hope it helps. Still looking through Visual Studio one, shall post if i find that too.

  • Thomas David Dayman Profile Picture
    Thomas David Dayman 11,323 on at
    RE: RESCO OfflineHtml: Unable to Debug the Javascript code

    I have never had any luck getting this to work, I just place alerts everywhere so I know where the code is failing.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,387 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans