Get bytecode of file/function

Examples:

All file

node --print-bytecode --print-code-verbose ./index.mjs > bytecode

Show only function ‘testFunction’ in ‘index.mjs’ file

node --print-bytecode --print-bytecode-filter=testFunction ./index.mjs

Another flags:

Bytecodes: