1
각도 ressource를 디버깅하려면 어떻게해야합니까? 내가 중단 점에있어 언제디버그 각도 리소스 약속
var thing = service.getRessource();
debbuger;
을 할 경우
는 약속은 해결되지 않습니다.
나는
service.getRessource()
.$promise
.then(function(thing) {
debugger;
// I can accesS the data here
});
두 번째 예제에서처럼 내 코드를 재 작성하지 않고 해결 약속을 디버깅 할 수있는 방법이 있나요을해야 할 것인가?