Skip to content

Commit

Permalink
discovered that VS2022 Emscripten target can debug with the IDE's deb…
Browse files Browse the repository at this point in the history
…ugger
  • Loading branch information
devshgraphicsprogramming committed Oct 12, 2022
1 parent 616ab0a commit 8473007
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
<EmBind>true</EmBind>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Emscripten'">
<Link>
<AdditionalOptions> -s EXPORTED_RUNTIME_METHODS=[ccall,cwrap,setValue] -s WASM=1 -lembind --bind --js-library "C:\work\JS-WASM-interop-benchmark\Benchmark\Benchmark.CPP.Emscripten\script.js" %(AdditionalOptions)</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="Main.cpp" />
</ItemGroup>
Expand Down

0 comments on commit 8473007

Please sign in to comment.