Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(cli): retain line tables in release binaries (#86286)

Hugues Pouillot6c933ecf89f6
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index 4a1908778beb..fc2893b0d160 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -85,6 +85,7 @@ unit_bindings = "deny"
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
+debug = "line-tables-only"
lto = "thin"
[package.metadata.dist]