ChuckJonas / vscode-apex-debug

(depreciated) An salesforce apex debugger for Visual Studio Code
MIT License
7 stars 2 forks source link

The default path set of logFile is not right on Windows #3

Open eliver opened 7 years ago

eliver commented 7 years ago

I use the default value -- "logFile": "${command.AskForLogName}", but VS code pops up an info

Please set up the launch configuration file for your application. ENOENT: no such file or directory, stat 'C:\c:\Users*\Documents*\debug\logs\2017-02-28 13-00-10.log' when tring to debug my apex.

ChuckJonas commented 7 years ago

looks like an issue with building the path for windows. I'll take a look. In the meantime, you can hardcode the file and just copy the log contents:

1: Create a file called debug.log 2: Update "logFile": "/debug.log" 3: C&P contents of log you want to debug into debug.log

ChuckJonas commented 7 years ago

@eliver I think this should be fixed in the latest release. Let me know if it still doesn't work for you.