-
Access Remix by navigating to https://remix.ethereum.org/.
- Let's use the following smart contract to test the debugging functionality. The contract uses a function to set the value of state variables and doesn't do anything complex:
pragma solidity^0.4.24;contract Sample { uint value; address sender; function setValue(uint _value) public { value = _value; sender = msg.sender; }}
- Navigate to the Run tab in the right panel and click Deploy to deploy the contract. Be sure to set the Environment as JavaScript VM. It will deploy the contract to a built-in Ethereum instance and will generate an interface to interact with the contract in the right panel, as shown in the following screenshot:
- You can access the debugger ...