In the sources tab of the Chrome Dev Console:
- On the left hand side, choose to
Add folder to workspace - Select the file you would like to run
- And In the opened file in the editor, select the code and right click then select
Evaluate selected text in console.
References:

Top comments (0)