Can't set "program" to source file
See original GitHub issue- Create a node launch config where the “program” attribute points at a .ts file
- It tries to run the .ts file with node
The v1 DA tries to resolve the .ts file when outFiles
is given, and otherwise will refuse to launch. We don’t necessarily need the behavior to guess whether a file is a .js file because it can’t be 100% accurate (https://github.com/microsoft/vscode/issues/89882) but we should at least resolve .ts files with the sourcemaps we found, for backcompat.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Not able to change anything in Program Files folder
Long press or right-click the file or folder, and then tap or click Properties. Tap or click the Security tab. Under Group or...
Read more >ERROR: Cannot open source file " " - visual studio
In solution explorer, single click each file with the error, bring up the Properties window (right-click, Properties), and ensure the "Relative Path" is...
Read more >Workable Fixes to Can't Read from Source File or Disk Error
Part 1: How to Fix Can't Read from the Source File or Disk Error? Solution 1: Restart Your PC; Solution 2: Check USB...
Read more >fatal error #1965: cannot open source file - but file is in project
Hello all! I am developing for an F28335 in C++ and CCS v5.5 under Windows 7 at the moment.I make a heavy use...
Read more >"Can't Read From Source File Or Disk" Error On Windows
Many Windows users have reported getting the error message " Can't read from source file or disk" when they try to move large...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Mm. Maybe try to do this but just go ahead and run the program if we don’t see a sourcemap, to drop the need for a workaround?
Even though this has always been a little too “magical” for my taste, I think we should support it just to be compatible with old launch configs.