Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

99
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!