Debugging - GradedJestRisk/ember-training GitHub Wiki
Steps:
- add sourcemap: in
ember-cli-build.js=> addsourcemaps: {enabled: true}, - optional: add
debuggerin source file orconsole.dir(<OBJECT>) - load application
- open debugger
- optional: open source in asset/ and add breakpoint
- perform action in application
- check breakpoint is reached
- in console or debugger, click on object, then prototype, then on property name followed by >>
- you get the value