Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • jake williamson 207 posts 872 karma points
    Jul 23, 2019 @ 00:25
    jake williamson
    0

    is debugging angular in the backoffice possible using visual studio?

    hey out there,

    we're trying to debug a infinite editing JavaScript issue in the backoffice of v8.1 using visual studio 2017.

    just wondered if anyone had managed to checkout the source and hit breakpoints in the angular files?

    after a few stumbles (vs will only debug js using ms browsers and the backoffice now only works in edge) we've got it debugging but can't get it to hit any breakpoints...

    has anyone out there attempted this set up yet?

    any pointers would as every be most appreciated ;)

    cheers,

    jake

  • jake williamson 207 posts 872 karma points
    Jul 23, 2019 @ 00:29
    jake williamson
    0

    ah... just found a post saying that debugging JavaScript in Edge is currently not supported...

    hmmm. that's a bad loop to be in: can only debug js using ms browsers but the backoffice doesn't work in a browser that supports debugging!

    erm. so, the core team must be doing debugging somehow right?!

  • Nathan Woulfe 447 posts 1664 karma points MVP 5x hq c-trib
    Jul 23, 2019 @ 06:09
    Nathan Woulfe
    100

    Why not debug in the browser?

  • jake williamson 207 posts 872 karma points
    Jul 23, 2019 @ 11:14
    jake williamson
    0

    hi nathan,

    it does indeed seem the only way to do it...

    debugging in chrome seems the best and i just have vs running in debug so i can hit the c# breakpoints.

    it's a steep learning curve getting your head around the backoffice javascript but i'm getting there!

    cheers,

    jake

Please Sign in or register to post replies

Write your reply to:

Draft