Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

361
Visualizações
How to see errors on production mode - nuxtjs

I think there are many questions about this. But there isn't a correct answer. How I can see detail of error logs on production mode?

enter image description here

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

You should be able the see the server logs from terminal you started the server(npm run start / nuxt start etc.). If you want the dev console in production mode, add this to your nuxt.config.js

  build: {
    terser:{
      terserOptions: {
        compress:{
          drop_console: false,
        },
      },
    },
  },
over 4 years ago · Santiago Trujillo Relatório

0

You should debug it locally before shipping to production because this may be fixable locally.
Otherwise, Sentry/Logrocket are good solutions, on top of a whole testing CI.
A staging URL replicating the production environment is also a viable solution.

Otherwise, you should not have publicly visible logs accessible from the public.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda