webstorm1 WebStorm으로 TypeScript debug 모드 사용하기 (2019-12-17에 작성된 글입니다) WebStorm을 비롯한 JetBrains IDE를 사용할 때 강력한 debug 모드를 제공한다. 이번 포스팅에서는 TypeScript을 사용할 때 WebStorm으로 debug 모드 사용법을 알아보겠다. 먼저 빈 디렉토리를 생성하여 pacakage.json, tsconfig.json을 생성하자 $ npm init -y # init npm project $ tsc -init # init typescript config 그리고 실행할 간단한 ts 파일 2개를 생성한다. // hello.ts export default function hello(name: string): string { return `Hello ${name}`; } // index.ts import .. 2021. 1. 5. 이전 1 다음