git clone https://github.com/lourd/node-async-iterator-playground
cd node-async-iterator-playground
node --harmony_async_iteration test.js
node --inspect-brk --harmony_async_iteration test.js
- Open Chrome, go to
chrome://inspect
test.js
should be listed under the "Remote Target" section. Click on the inspect link
If you're a VSCode user, you can also open the project and run the debugger from within test.js
to step through the code in your editor.