Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

101
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda