728x90
์์ค ํจ๋ ๊ฐ์ - Chrome ๊ฐ๋ฐ์
Sources panel overview - Chrome Developers
View and edit files, create Snippets, debug JavaScript, and set up Workspaces in the Sources panel of Chrome DevTools.
developer.chrome.com
๋๋ฒ๊ทธ ์๋ฐ ์คํฌ๋ฆฝํธ - ํฌ๋กฌ ๊ฐ๋ฐ์ (chrome.com)
Debug JavaScript - Chrome Developers
Learn how to use Chrome DevTools to find and fix JavaScript bugs.
developer.chrome.com
1. step into ๋ค์ ํจ์ ํธ์ถ๋ก ๋ค์ด๊ฐ๊ธฐ
| Step into next function call | F11 or Command+; | F11 or Control+; |

step into ๋ค์ ํจ์ ํธ์ถ๋ก ๋ค์ด๊ฐ๊ธฐ๋ฅผ ๋๋ฅด๋ฉด
๋ฉ์๋ ์์ผ๋ก ๋ค์ด๊ฐ๋ค.
ํ์ธํด๋ณด์.

2. step over ๋ค์ ํจ์ ํธ์ถ๋ก ๋์ด๊ฐ๊ธฐ
| Step over next function call | F10 or Command+' | F10 or Control+' |

step over ๋ค์ ํจ์ ํธ์ถ๋ก ๋์ด๊ฐ๊ธฐ
์๋๋ก ํ๋ฆ์ ์ญ ๋ฐ๋ผ๊ฐ๊ณ ์ถ์ ๋ ๋๋ฅด๋ฉด์ ๊ฐ์ ์ฝ์ด๋ด๋ ค๊ฐ๋ฉด ๋๋ค.

3. Step out of current function ํ์ฌ ํจ์์์ ๋๊ฐ๊ธฐ
| Step out of current function | Shift+F11 or Command+Shift+; | Shift+F11 or Control+Shift+; |

step out์ ๋๋ฌ์ฃผ๋ฉด...

4. break point + Pause script execution (if currently running) or resume (if currently paused) ์คํฌ๋ฆฝํธ ์คํ ์ผ์ ์ค์ง(ํ์ฌ ์คํ ์ค์ธ ๊ฒฝ์ฐ) ๋๋ ๋ค์ ์์(ํ์ฌ ์ผ์ ์ค์ง๋ ๊ฒฝ์ฐ)
| ์คํฌ๋ฆฝํธ ์คํ ์ผ์ ์ค์ง(ํ์ฌ ์คํ ์ค์ธ ๊ฒฝ์ฐ) ๋๋ ๋ค์ ์์(ํ์ฌ ์ผ์ ์ค์ง๋ ๊ฒฝ์ฐ) | F8 ๋๋ Command+\ | F8 ๋๋ Control+\ |
| Pause script execution (if currently running) or resume (if currently paused) | F8 or Command+\ | F8 or Control+\ |

5. ํธ์ถ์คํ

6. watch ์กฐ์ฌ์

๊ฐ์ด ์ฐธ๊ณ ํ๋ฉด์ ๋ณธ ์์:
728x90
'Debugger > Chrome DevTools' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
| ๋ธ๋ผ์ฐ์ ์์ ๋ฉ๋ชจ๋ฆฌ ๋์ ํ์ธ (0) | 2023.01.19 |
|---|---|
| [ํฌ๋กฌ๋ฐ๋ธํด] Chrome DevTools์ ๋จ์ถํค (0) | 2022.04.25 |