Not WebAssembly related, but there are already VSCode plugins for "a nice shadertoy-style live-coding environment!"
GLSL preview: https://marketplace.visualstudio.com/items?itemName=circlede...
Full on Shadertoy environment (preview panel, lets you use Shadertoy's uniforms): https://marketplace.visualstudio.com/items?itemName=stevenso...