Skip to content

Debugging issues with Webstorm #612

@shantanutomar

Description

@shantanutomar

Desc
I have set up the extension in Webstorm and am able to log in successfully. When I run the program it runs fine and can see the logs in the Leetcode console.
I am not able to debug the problem in Webstorm and every time I start the debugger in Webstorm it exits with the error
Process finished with exit code 130 (interrupted by signal 2: SIGINT)

I am using Node V17.4.0

Screenshot 2023-01-14 at 8 37 24 PM

Software versions(Help -> About)(Optional)

  • Product: WebStorm 2022.2.2
  • Runtime version: 17.0.4+7-b469.53 aarch64
  • VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
  • OS: macOS

Question(Optional)

  • URL: leetcode.com
  • Code Type: Javascript
  • code:
    var removeDuplicates = function(nums) {
      console.log(nums);
      let solvedTill = 0
      for(let index = 1; index < nums.length; index++) {
          if(nums[index] !== nums[solvedTill]) {
              solvedTill++;
              nums[solvedTill] = nums[index];
          }
      }
      return solvedTill + 1;
    

};

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions