如何控制台登录 remix IDE

pia*_*ash 8 debugging solidity remix

我正在尝试控制台和调试代码或可靠性

我正在使用https://remix.ethereum.org/

Tan*_*lam 17

// remix supports hardhat console.log;

// 1st import as follows
import "hardhat/console.sol";

// then to log use:
console.log("log 1")
Run Code Online (Sandbox Code Playgroud)