Announcements
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.
2) Attached To Process "MobileCrm.exe"
3) Enabled debugging in Internet Explorer -
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
I have never had any luck getting this to work, I just place alerts everywhere so I know where the code is failing.
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.
Hope it helps. Still looking through Visual Studio one, shall post if i find that too.
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).
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
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Syed Aqib Raza 25
Daniyal Khaleel 23 Most Valuable Professional
Ayesha Wajahat 16