Omniverse vscode dubug configuration

Using launch.json configuration to show a connection failure, is there something wrong with my configuration? What are the functions of pathMapping and runtimeArgs in your JSON file?Should I set my own working path address behind the WorksapceFolder?
“remoteRoot”: “${workspaceFolder}”,
“localRoot”: “${workspaceRoot}”,
I don’t know what to put in the path here? Like the kit.exe path to create


Hi. Those paths should be correct for most cases. They’re used to inform debugpy. Does your VSCode $workspaceFolder have an “app” symlink? This should be created automatically or by running the link_app.bat in the project. Also, have you selected the Kit python interpreter in VSCode?


I think only host and port really important, for it just works. Maybe port is not available? What the error says?

According to your configuration, I cannot import PXR and access its source code

Sorry if my reply confused you. You shouldn’t need to edit the launch.json unless to try a different port number like @anovoselov suggested. Here’s what my launch.json looks like:

Let us know if you’re getting any error messages when you try to start the debugger that might help us narrow down the cause.