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
Fix Node.js debug env propagation and remove stored context from app structs (#4696)
## Summary
- Fix `NodeApp.enableDebugging` which called `os.Setenv` to set
`NODE_OPTIONS`, but `startAppProcess` constructs `appCmd.Env` explicitly
without inheriting the parent process environment — so the `--inspect`
flag never reached the child process
- Have `GetCommand` return extra env vars alongside the command, which
the caller appends to `appCmdEnv`
- Remove stored `context.Context` from `NodeApp` and `PythonApp`
structs, passing it through method arguments instead (follow-up to
#4690)
## Test plan
- [x] New `node_test.go` tests cover debug env, appending to existing
`NODE_OPTIONS`, and custom port
- [x] Existing `python_test.go` tests updated and passing
- [x] `go test ./libs/apps/runlocal/... ./cmd/apps/...` passes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments