Debugpy vscode extention isaacsim4.5 failed

Issue Description:
I encountered errors while debugging the standalone script hello_world.py located at standalone_examples/api/isaacsim.simulation_app/hello_world.py, following the instructions from the Isaac Sim Debugging Documentation.

My OS:
➜ ~ uname -a
Linux ztr 6.8.0-57-generic #59~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Mar 19 17:07:41 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Additionally, I am unable to attach the VS Code debugger to a running instance of Isaac Sim 4.5 using the same documentation.

Relevant Documentation:
Debugging With Visual Studio Code — Isaac Sim Documentation

Request for Assistance:
Could someone help me troubleshoot these issues?

/usr/bin/env /home/ztr/miniconda3/envs/isaac-sim/bin/python /home/ztr/.vscode/exte
nsions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher 58007 – /home/ztr/isaac-sim-
[email protected]/standalone_examples/api/isaacsim.simulation_app/hello_world.py
with error output as follows:

2025-04-13 12:44:51 [18,900ms] [Warning] [rtx.scenedb.plugin] SceneDbContext : TLAS limit buffer size 7374781440
2025-04-13 12:44:51 [18,900ms] [Warning] [rtx.scenedb.plugin] SceneDbContext : TLAS limit : valid false, within: false
2025-04-13 12:44:51 [18,900ms] [Warning] [rtx.scenedb.plugin] SceneDbContext : TLAS limit : decrement: 167690, decrement size: 7301033856
2025-04-13 12:44:51 [18,900ms] [Warning] [rtx.scenedb.plugin] SceneDbContext : New limit 9748724 (slope: 439, intercept: 13179904)
2025-04-13 12:44:51 [18,900ms] [Warning] [rtx.scenedb.plugin] SceneDbContext : TLAS limit buffer size 4287352704
2025-04-13 12:44:51 [18,900ms] [Warning] [rtx.scenedb.plugin] SceneDbContext : TLAS limit : valid true, within: true
[18.939s] rclpy loaded
2025-04-13 12:44:51 [19,001ms] [Warning] [omni.usd-abi.plugin] No setting was found for ‘/rtx-defaults-transient/meshlights/forceDisable’
2025-04-13 12:44:51 [19,027ms] [Warning] [omni.usd] Warning: in AppendProperty at line 858 of /builds/omniverse/usd-ci/USD/pxr/usd/sdf/path.cpp – Can only append a property ‘physics:rigidBodyEnabled’ to a prim path (/)

2025-04-13 12:44:51 [19,033ms] [Warning] [omni.usd-abi.plugin] No setting was found for ‘/rtx-defaults/post/dlss/execMode’
Fatal Python error: Segmentation fault

Thread 0x000077295ae00640 (most recent call first):
File “/home/ztr/[email protected]/kit/python/lib/python3.10/concurrent/futures/thread.py”, line 81 in _worker
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 953 in run
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 1016 in _bootstrap_inner
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 973 in _bootstrap
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py”, line 1131 in call

Thread 0x000077296a000640 (most recent call first):
File “/home/ztr/[email protected]/kit/python/lib/python3.10/concurrent/futures/thread.py”, line 81 in _worker
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 953 in run
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 1016 in _bootstrap_inner
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 973 in _bootstrap
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py”, line 1131 in call

Thread 0x000077296ce00640 (most recent call first):
File “/home/ztr/[email protected]/kit/python/lib/python3.10/concurrent/futures/thread.py”, line 81 in _worker
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 953 in run
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 1016 in _bootstrap_inner
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 973 in _bootstrap
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py”, line 1131 in call

Thread 0x0000772b0e400640 (most recent call first):
File “/home/ztr/[email protected]/kit/python/lib/python3.10/concurrent/futures/thread.py”, line 81 in _worker
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 953 in run
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 1016 in _bootstrap_inner
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 973 in _bootstrap
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py”, line 1131 in call

Thread 0x0000772b0ee00640 (most recent call first):
File “/home/ztr/[email protected]/kit/python/lib/python3.10/concurrent/futures/thread.py”, line 81 in _worker
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 953 in run
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 1016 in _bootstrap_inner
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 973 in _bootstrap
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py”, line 1131 in call

Thread 0x0000772e7f400640 (most recent call first):
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 324 in wait
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 607 in wait
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/pydevd.py”, line 325 in _on_run
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py”, line 53 in run
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 1016 in _bootstrap_inner
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 973 in _bootstrap

Thread 0x0000772e7fe00640 (most recent call first):
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 324 in wait
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 607 in wait
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/pydevd.py”, line 279 in _on_run
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py”, line 53 in run
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 1016 in _bootstrap_inner
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 973 in _bootstrap

Thread 0x0000772e85200640 (most recent call first):
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py”, line 227 in _read_line
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py”, line 245 in _on_run
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py”, line 53 in run
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 1016 in _bootstrap_inner
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 973 in _bootstrap

Thread 0x0000772e85c00640 (most recent call first):
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 324 in wait
File “/home/ztr/[email protected]/kit/python/lib/python3.10/queue.py”, line 180 in get
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py”, line 390 in _on_run
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py”, line 53 in run
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 1016 in _bootstrap_inner
File “/home/ztr/[email protected]/kit/python/lib/python3.10/threading.py”, line 973 in _bootstrap

Thread 0x0000772e90785440 (most recent call first):
File “/home/ztr/[email protected]/exts/isaacsim.simulation_app/isaacsim/simulation_app/simulation_app.py”, line 492 in _prepare_ui
File “/home/ztr/[email protected]/exts/isaacsim.simulation_app/isaacsim/simulation_app/simulation_app.py”, line 255 in init
File “/home/ztr/[email protected]/standalone_examples/api/isaacsim.simulation_app/hello_world.py”, line 13 in
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py”, line 118 in _run_code
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py”, line 127 in _run_module_code
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py”, line 310 in run_path
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py”, line 351 in run_file
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py”, line 501 in main
File “/home/ztr/.vscode/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher/../../debugpy/main.py”, line 71 in
File “/home/ztr/[email protected]/kit/python/lib/python3.10/runpy.py”, line 86 in _run_code
File “/home/ztr/[email protected]/kit/python/lib/python3.10/runpy.py”, line 196 in _run_module_as_main

Extension modules: _pydevd_bundle.pydevd_cython, psutil._psutil_linux, psutil._psutil_posix, omni.mdl.pymdlsdk._pymdlsdk, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, scipy._lib._ccallback_c, scipy.sparse._sparsetools, _csparsetools, scipy.sparse._csparsetools, scipy.sparse.linalg._isolve._iterative, scipy.linalg._fblas, scipy.linalg._flapack, scipy.linalg._cythonized_array_utils, scipy.linalg._flinalg, scipy.linalg._solve_toeplitz, scipy.linalg._matfuncs_sqrtm_triu, scipy.linalg.cython_lapack, scipy.linalg.cython_blas, scipy.linalg._matfuncs_expm, scipy.linalg._decomp_update, scipy.sparse.linalg._dsolve._superlu, scipy.sparse.linalg._eigen.arpack._arpack, scipy.sparse.csgraph._tools, scipy.sparse.csgraph._shortest_path, scipy.sparse.csgraph._traversal, scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow, scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering, scipy.spatial._ckdtree, scipy._lib.messagestream, scipy.spatial._qhull, scipy.spatial._voronoi, scipy.spatial._distance_wrap, scipy.spatial._hausdorff, scipy.special._ufuncs_cxx, scipy.special._ufuncs, scipy.special._specfun, scipy.special._comb, scipy.special._ellip_harm_2, scipy.spatial.transform._rotation, torch._C, torch._C._dynamo.autograd_compiler, torch._C._dynamo.eval_frame, torch._C._dynamo.guards, torch._C._dynamo.utils, torch._C._fft, torch._C._linalg, torch._C._nested, torch._C._nn, torch._C._sparse, torch._C._special, PIL._imaging, PIL._imagingft, charset_normalizer.md, requests.packages.charset_normalizer.md, requests.packages.chardet.md, osqp._osqp, scipy.io.matlab._mio_utils, scipy.io.matlab._streams, scipy.io.matlab._mio5_utils, yaml._yaml, multidict._multidict, yarl._quoting_c, aiohttp._helpers, aiohttp._http_writer, aiohttp._http_parser, aiohttp._websocket, _cffi_backend, frozenlist._frozenlist, cv2 (total: 83)
(isaac-sim) ➜ [email protected] git:(master) ✗

Could you clarify at which specific step(s) in Debugging With Visual Studio Code — Isaac Sim Documentation things fail for you?

Hello!

We noticed that this topic hasn’t received any recent responses, so we are closing it for now to help keep the forum organized.

If you’re still experiencing this issue or have additional questions, please feel free to create a new topic with updated details. When doing so, we recommend mentioning or linking to this original topic in your new post—this helps provide context and makes it easier for others to assist you.

Thank you for being part of the NVIDIA Isaac Sim community.

Best regards,
The NVIDIA Isaac Sim Forum Team