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

100
Visualizações
VS Code Intellisense can't find function called 'debug'

I'm working on a Remix JS project, and in order to debug I have to export a function called 'debug'.

However, for some reason VSCode's intellisense can't find it. It offers this: enter image description here

if I enter another function exported from the same module it finds it without problems:enter image description here

Here is the module I'm importing from:


export function debug() {
    return;
}

export function hello() {
    return "hi";
}

I have no idea why this is happening... Any help would be appreciated!

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

OK, found the issue.

You need to install @types/debug and @types/react. VS Code doesn't like .js or .jsx projects without those packages.

And my .jsconfig needed to look like this:

{
    "compilerOptions": {
        "baseUrl": ".",
        "checkJs": true,
        "jsx": "react"
    },
    "exclude": [
        "public",
        "netlify"
    ]
}
about 4 years ago · Juan Pablo Isaza 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