This updates the npm debug command to type check before executing the run entry. If the check fails the debug will not continue.