Skip to content

Debugging

GradedJestRisk edited this page Sep 9, 2020 · 2 revisions

Steps:

  • add sourcemap: in ember-cli-build.js => add sourcemaps: {enabled: true},
  • optional: add debugger in source file or console.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

Clone this wiki locally