You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All container logs are saved in a directory named `logs`, which will appear in the same directory where you ran the test after the test is completed.
4
+
5
+
For verifying your on-chain components, refer to the [Blockscout documentation](https://docs.blockscout.com/devs/verification/foundry-verification) on smart contract verification. This guide provides detailed instructions on uploading your ABI and verifying your contracts.
6
+
7
+
Use `CTF_LOG_LEVEL=trace|debug|info|warn` to debug the framework.
8
+
9
+
Use `RESTY_DEBUG=true` to debug any API calls.
10
+
11
+
Use `SETH_LOG_LEVEL=trace|debug|info|warn` to debug [Seth](../../libs/seth.md).
12
+
13
+
## Using Delve (TBD)
14
+
15
+
You can use [Delve]() inside your containers to debug aplications.
16
+
17
+
Build them with `go build -gcflags="all=-N -l" -o myapp` and use an example `Dockerfile`:
18
+
```
19
+
FROM golang:1.20
20
+
21
+
# Install Delve
22
+
RUN go install github.com/go-delve/delve/cmd/dlv@latest
23
+
24
+
# Set working directory
25
+
WORKDIR /app
26
+
27
+
# Copy the application binary and source code (if needed for debugging)
28
+
COPY myapp /app/myapp
29
+
COPY . /app
30
+
31
+
# Expose the port for Delve
32
+
EXPOSE 40000
33
+
34
+
# Start Delve in headless mode for remote debugging
0 commit comments