```go
package main
import (
"fmt"
"net/http"
"runtime/debug"
"runtime/gosym"
"strings"
)
func handler(w http.ResponseWriter, r *http.Request) {
// Información del host
host := r.Host
// Información del entorno (para debugging)
env := strings.Join(debug.Stack(), "\n")
// Respuesta
fmt.Fprintf(w, "Hola Mundo: %s\nHost: %s\nEntorno:\n%s", "Mundo", host, env)
}
func main() {
http.HandleFunc("/", handler)
fmt.Println("Servidor escuchando en http://localhost:8080")
http.ListenAndServe(":8080", nil)
}
```
**Explicación:**
* Retorna "Hola Mundo" y la información del host (URL).
* Incluye la información del entorno (stack trace) para debugging.
* Utiliza `http.HandleFunc` y `http.ListenAndServe` para crear un servidor HTTP simple.
* Observa que el stack trace puede ser extenso, úsalo con moderación en producción.