The sample runs fine locally. On helix it timeouts, log ends like this:
C:\helix\work\workitem>dotnet exec $XHARNESS_CLI_PATH wasm $XHARNESS_COMMAND --app=. --engine=V8 --engine-arg=--stack-trace-limit=1000 --js-file=runtime.js --output-directory=$HELIX_WORKITEM_UPLOAD_ROOT/xharness-output -- --run Wasm.Console.Sample.dll
...
[EXECUTION TIMED OUT]
Exit Code:-3Executor timed out after 300 seconds and was killed
['Wasm.Console.Sample' WORK ITEM LOG TRUNCATED: Command timed out, and was killed]