{
"name": "Backend: InvokeAI",
"type": "debugpy",
"request": "launch",
"program": "/opt/anaconda3/envs/sd/bin/invokeai-web",
"args": ["--root", "~/InvokeAI/invokeai_root"
],
"console": "integratedTerminal",
"env": {
"PYTORCH_ENABLE_MPS_FALLBACK": "1",
},
"justMyCode": false,
"presentation": {
"hidden": false,
"group": "InvokeAI",
"order": 1
}
},
Type: Bug
Behaviour
Writing the following in a log point:
{import inspect; __file__ + ":" + str(inspect.currentframe().f_lineno)}:Throws an invalid syntax error in the console:
invalid syntax (, line 1)
Steps to reproduce:
Diagnostic data
launch.jsonconfigurationOutput for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)No output
Output for
Python Debuggerin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython Debugger)No Output
Extension version: 2025.5.2025031101
VS Code version: Code - Insiders 1.99.0-insider (Universal) (99c9c6c8eb0aef3fce659b0fac1ff3130c4e34a4, 2025-03-28T21:28:51.696Z)
OS version: Darwin arm64 24.3.0
Modes:
Details
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments