.sol
file containing a single contract
.sol
file..sol
files with VSCode.Main
with a parameterless constructor function.Main
contract is automatically deployed and its constructor function will be ran.First, follow the quick guide to setting up a Solidity test project using Meadow.
Install the C# Extension for VSCodehttps://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp
.vscode/launch.json
file, add the following configuration:{ "version": "0.2.0", "configurations": [ { "type": "solidityMeadow", "request": "launch", "name": "Debug Solidity (via unit test run)" } ] }
Open a .sol source file from your contracts
directory and set breakpoints in a function that gets executed by your C# unit tests.
Select the debug panel again, ensure the correct configuration is selected, and click the green play button.
The unit tests will be executed and your breakpoint will be hit.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4