Skip to content

Latest commit

 

History

History
executable file
·
29 lines (19 loc) · 727 Bytes

CONTRIBUTING.md

File metadata and controls

executable file
·
29 lines (19 loc) · 727 Bytes

How to Develop Netron

Debugging

Netron can run as both an Electron app or a Python web server.

To start the Electron app, install Node.js and run:

npm install
npm start

To debug the Electron app, open the folder in Visual Studio Code and press F5. To attach the debugger to the render process select the Debug tab and pick Electron View before launching.

To build and launch the Python server, pick Browser in the Debug tab or run this command:

python package.py build start --browse

Validation

To validate changes run:

npm run lint
npm test [format] # e.g. npm test onnx