=== default ===
debugInfo=false
(module
 (type $0 (func))
 (memory $0 0)
 (export "test" (func $0))
 (func $0
 )
)

=== with debug info ===
debugInfo=true
(module
 (type $v (func))
 (memory $0 0)
 (export "test" (func $test))
 (func $test
 )
)

=== without debug info ===
debugInfo=false
(module
 (type $0 (func))
 (memory $0 0)
 (export "test" (func $0))
 (func $0
 )
)