Can't launch debugger for Visual Studio Extension - themes

I'm using this LinkedIn learning course https://www.linkedin.com/learning/visual-studio-code-building-an-extension/scaffolding-an-extension?u=67553434 to create an Extension. I'm creating a theme currently, so its a .json file
The course tells me to launch the debugger, but I keep getting an error saying "Cannot launch program (file path); setting the 'outFiles' attribute might help. Any idea what this means? is my file path correct?
I'm sure i'm doing something silly, so would appreciate any quick help to get me going. Thanks!

Related

VS Code debugger: failure to find module (utf-8 characters)

When I try to run a Node.js debugging session from Visual Code, the debugging console returns an error, saying that the bootloader.bundle.js could not be found. However, the bootloader.bundle.js file exists at the expected location, while the debug console specifies the folder incorrectly by substituting a UTF-8 character (letter č) with the replacement character (�). The snippet of the error message can be found below:
Error: Cannot find module 'c:/Users/xxxx xxxx�/AppData/Local/Programs/
Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/bootloader.bundle.js'
Can I somehow fix this in VS Code, perhaps by modifying the launch.json file in some way or some other settings?
Any help is appreciated!
EDIT:
I temporarily fixed the issue by reinstalling VS Code to another folder without that doesn't include diacritical characters. I'd like to to keep this question open, however, in case somebody knows of a way to fix this sort of problem (e.g. by by modifying some configuration files) that does not require either reinstalling or relying on a portable version of the app.
I have just dealt with the same issue. There have been Unicode characters in my folder's path and I got the same error "Cannot find module". Reasons are described in details here.
To fix it I have gone to File - Preferences - Settings and then entered "usePreview" and then I unchecked the option "Use the new in-preview JavaScript debugger for ..." under the section "Debug > JavaScript: Use Preview" and reloaded VS Code. The issue has gone.

How to open/run a vscode (Visual Studio Code) project in the terminal

I am creating a TTS (Text To Speech) porgram and one possibility I found involved running the program through through the terminal (example: https://www.youtube.com/watch?v=LRUZ668ZSVU). The example is for python specifically, and so I looked to find what to put for vscode i found this: vscode://file/FULL/PATH/TO/FILE and this:code . both of which give me an error message saying "no such file or directory." Any suggestions as to what I am doing wrong or an easier way to do it?

Xcode command failed with exit code 1 AND error reading xcodeproj file

The app is being built on another persons computer and then sent to me to test. I am extremely new to this but have been testing apps for a few months. I just don't do programming at all. I can maneuver my way around inside Xcode 7.1 pretty well. However, I do need to fix these errors in order to test this current app. Can someone help me out?
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
I also have another error that reads
Error reading '/Users/logjam3/Desktop/Cosmo Client/Cosmo Client.xcodeproj'
This is exactly the path to where my project is so I don't know why I get this error.
You have to change the prefix header source location. You can do this by searching for prefix header then changing the location by pressing the 'file' icon on the right sidebar of Xcode.

Finding the path to file using application startuppath in a windows form

Hi every one I am trying to access a file in certain folder in my windows form app, but I keep getting the error "could not find a part of the path: C:....e.t.c".
here is my code:
string doc = Application.StartupPath + #"\filefolder\pin-card02.docx";
please what is wrong with this piece of code?
I have seen some explanations but nothing tells me how to direct my program to a certain file in a folder...
Thanks in Advance
There's probably nothing wrong with this piece of code, most likely this file is not set as content of your application and is not getting copied to the output directory, if this is part of a visual studio solution, check that pin-card02.docx has "copy to output directory" set to "Always" or "Copy if newer" in the .doc's properties, if it's not part of the solution, you may need to include it and set the property.
If this doesn't help, you'll need to provide more information on the problem.

Visual Studio Postbuildevent Batch

I hope someone got an idea for a little problem of mine...
I got the following Postbuild-event script in my visual-studio 2010 project:
copy "D:\Sources\Project/output\program.exe" "D:\Project\Testserver\"
cd "D:\Project\Testserver\"
start "" /I "D:\Project\Testserver\program.exe"
The program is starting properly in a new window but the build-process is not ending before I stop the batch.
The same command in a normal windows shell does create a new independent instance but visual studio seems to wait for the process to end, why? I just want it to copy and start the program and then complete the build-process, is there a way to accomplish this? Thanks!
Oh and the follwing error is thrown in the visual studio output window:
Error: The input redirection is not supported. Process will be killed immediately.
(I translated this from german text but still google does not find anything to this error-message)
Would be cool if someone has experience with this. Thanks!

Resources