leetcode-editor
leetcode-editor copied to clipboard
Debugging issues with Webstorm
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

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!
The file name may contain spaces, you can use [${question.frontendQuestionId}]${question.titleSlug} to set file name.