
- The microsoft visual studio remote debugging monitor install#
- The microsoft visual studio remote debugging monitor code#
The Run view displays all information related to running and debugging and has a top bar with debugging commands and configuration settings. You can also use the keyboard shortcut ⇧⌘D (Windows, Linux Ctrl+Shift+D). To bring up the Run view, select the Run icon in the Activity Bar on the side of VS Code.
The microsoft visual studio remote debugging monitor code#
Once you have a simple application set up, this page will take you through VS Code debugging features.
The microsoft visual studio remote debugging monitor install#
You can follow the Node.js walkthrough to install Node.js and create a simple "Hello World" JavaScript application ( app.js). It is helpful to first create a sample Node.js application before reading about debugging. The following documentation is based on the built-in Node.js debugger, but most of the concepts and features are applicable to other debuggers as well. Select an extension tile above to read the description and reviews to decide which extension is best for you. Tip: The extensions shown above are dynamically queried.
Configure IntelliSense for cross-compiling. You do not want to run as an administrator if you want to launch processes, and the process you want to launch should not be an administrator. You are trying to launch another process, and the process you want to launch is an administrator. You want to attach to processes running as another user (such as when debugging IIS), or You want to run the remote debugger as an administrator in several scenarios: If you are trying to attach to your own non-elevated process (such as a normal application), it doesn't matter if you are running the remote debugger as an administrator. When running the remote debugger as an application (normal mode) The built-in accounts have elevated security privileges that can present a security risk. On a domain, it is easier to connect back if the remote debugger is running under the built-in Local System or Network Service accounts, or a domain account. The account must be able to connect back to (that is, authenticate with) the Visual Studio computer over the network. (The easier alternative is to run the service as an administrator.) To get these rights, you must run the remote debugger under the same account as the process to be debugged. The account must have rights to debug the target process. See the steps under "To add logon as a service" in the cannot connect back error article. The account you are using on the remote machine must have the logon as service privilege. While it's possible to debug without running the remote debugger as an administrator, there are several requirements to make this work correctly and they often require more advanced service configuration steps. To simplify the setup and configuration of the remote debugger. It can prevent errors that result when the Visual Studio user has more rights to debug a process than the remote debugger itself does. The remote debugger service only allows connections from administrators, so there are no new security risks introduced by running it as an administrator. When running the remote debugger as s service, we recommend running it as an administrator for several reasons: When running the remote debugger as a service For example, you may see the following error: "The Visual Studio Remote Debugger (MSVSMON.EXE) has insufficient privileges to debug this process." If you are running the remote debugger as an application (not a service), you may see the different user account error. You may come across issues if you don't run the remote debugger as an administrator. Run the remote debugger as an administrator Unable to Connect to the Microsoft Visual Studio Remote Debugging MonitorĮrror: Remote machine does not appear in a Remote Connections dialog You may come across the following errors when attempting to debug remotely.Įrror: Unable to Automatically Step Into the ServerĮrror: The Microsoft Visual Studio Remote Debugging Monitor (MSVSMON.EXE) does not appear to be running on the remote computer. Remote Debugging Errors and Troubleshooting