[form-js] how to debug custom element

while develop a custom element like custom element basic demo, i noticed that demo used to form-js is at dist folder, how to debug the custom element while develop stage.