this is vscode plugin for glua
- debugger by simplechain and gluac
- glua syntax highlight
- show simplechain contracts
- deploy contract to simplechain
- invoke contract and debug
- debug contract source code
- deploy contract and invoke contract api
- view contract info and storages
- put
gluac.exe
orgluac
(when not Windows) to system env PATH - run
simplechain.exe
- open a contract source file(eg. mock_test/contract.glua or mock_test/token.glua)
Ctrl-P
and>
to enter command mode and entercompile contract
command.- enter
deploy contract
command to deploy the contract - in contracts explorer view, select the contract and api you want to run and debug
- center
F5
in your opened contract source file to start the debugger - view contract apis and storages and local variables/upvalues when debuging
- compile contract
- deploy contract
- invoke contract
- deposit contract
- generate block
F5
to start debuggerCtrl-F5
to run without debugger