We consider a singularly perturbed boundary value problem (ε2Δ + ∇V·∇)uε = 0 in Ω, uε = f on ∂Ω, f ∈ C∞(∂Ω). The function V is supposed to be sufficiently smooth and to have the only minimum in the domain Ω. This minimum can degenerate. The potential V has no other stationary points in Ω and its normal derivative at the boundary is non-zero. Such a problem arises in studying Brownian motion governed by overdamped Langevin dynamics in the presence of a single attracting point. It describes the distribution of the points at the boundary ∂Ω, at which the trajectories of the Brownian particle hit the boundary for the first time. Our main result is a complete asymptotic expansion for uε as ε → +0. This asymptotic is a sum of a term KεΨε and a boundary layer, where Ψε is the eigenfunction associated with the lowest eigenvalue of the considered problem and Kε is some constant. We provide complete asymptotic expansions for both Kε and Ψε; the boundary layer is also an infinite asymptotic series power in ε. The error term in the asymptotics for uε is estimated in various norms.