Debugging JavaScript control add-ins

EvR
EvR Member Posts: 178
edited 2015-12-22 in NAV Three Tier
Hi all,

I'm sure that everyone who has ever tried to load a complex jquery library into a NAV control add-in at some point had trouble getting it to work. But what do you do when everything works fine in your browser (even IE10) but in NAV you get no response? I know that a component init fails, that much I can work out from just placing alerts before and after important lines of JS code. But now what? There's no console in NAV to check any javascript errors.
How does Microsoft expect us to develop complex add-ins without debugging? Or am I missing some important feature?

Best Answer

  • yukon
    yukon Member Posts: 361
    Answer ✓
    Hi,
    You can debug from IE or other browser if you are using Addin from web client. You can use Developer Tools (F12) for debugging on IE
    Regards
    Make Simple & Easy

Answers

  • yukon
    yukon Member Posts: 361
    Answer ✓
    Hi,
    You can debug from IE or other browser if you are using Addin from web client. You can use Developer Tools (F12) for debugging on IE
    Regards
    Make Simple & Easy
  • EvR
    EvR Member Posts: 178
    Brilliant!
    Such a simple solution, couldn't have thought of that myself :smile: